Python code style
General notes on Python’s code style and practices.
Linters
- Pylint1
- pycodestyle2 (formerly
PEP8
) - Flake83, meta-package including PyFlakes, pycodestyle, Ned Batchelder’s McCabe script4
- Pylama, including
pycodestyle
,pydocstyle
, PyFlakes and Ned Batchelder’s McCabe script - Radon5
- gjslint6
At the moment, my linter of choice is pylint
.
Black
Black7 the famous formatter. Black became stable software in 29th January 20228. The stability policy is avaible here.
Footnotes
https://www.pylint.org/↩︎
https://pypi.org/project/pycodestyle/↩︎
https://pypi.org/project/flake8/↩︎
https://github.com/PyCQA/mccabe)↩︎
https://radon.readthedocs.io/en/latest/↩︎
https://atom.io/packages/linter-gjslint ## Formatters↩︎
https://pypi.org/project/black/↩︎
https://pypi.org/project/black/22.1.0/↩︎