Aug-01-2019, 08:39 AM
The tutorial goes through how to set up a new Python project with everything you need to keep the code consistent and high quality:
https://sourcery.ai/blog/python-best-practices/
It has how to set up black, isort, flake8, mypy, pytest and pre-commit to play nicely together, as well as using pipx and pipenv.
There's also a cookiecutter template so you can set up new projects straight away!
https://sourcery.ai/blog/python-best-practices/
It has how to set up black, isort, flake8, mypy, pytest and pre-commit to play nicely together, as well as using pipx and pipenv.
There's also a cookiecutter template so you can set up new projects straight away!