3 ms·
I don’t think any of this is wrong or bad, but it feels a bit outdated. Black and ISort are great, but rather than a setup.cfg, how about using a pyproject.toml
by dfee 7y ago
I don’t think any of this is wrong or bad, but it feels a bit outdated. Black and ISort are great, but rather than a setup.cfg, how about using a pyproject.toml - and maybe swap Pipenv for something like poetry.
Also, huge fan of pytest (as is mentioned) and mypy (not mentioned, but quite helpful).
[edit] mypy is indeed mentioned! I must’ve missed that on first pass.
- airstrike 7y agomypy is mentioned
- vonseel 7y agoI haven't looked into poetry, but your comment makes me shake my head and wonder... what's wrong with setup.cfg to begin with? Another damn file format? What?
- dfee 7y agoWell, I hope your wandering ends here, at PEP-518 [0], which addresses your wonder directly. [0] https://www.python.org/dev/peps/pep-0518/#sticking-with-setup-cfg https://www.python.org/dev/peps/pep-0518/#sticking-with-setu...
- vonseel 7y agoI’ll check it out. I will admit I like being able to combine several configs into a single setup.cfg or package.json, but I’m usually the guy who has a separate config file checked in for every tool he’s using.