serhii.net

In the middle of the desert you can say anything you want

19 Dec 2021

Python best practices for 2021

Python Best Practices for a New Project in 2021 - Alex Mitelman

Describes a setup that uses poetry, black, flake8, pytest, mypy and new to me isort to sort imports.

The Fast track section has a TL;DR of how to create that setup.

I also really like this intro to poetry: Package Python Projects the Proper Way with Poetry

Nel mezzo del deserto posso dire tutto quello che voglio.