Update Python guidelines authored by Georg Koppen's avatar Georg Koppen
...@@ -24,6 +24,8 @@ Tools to use to automatically test style and/or fix it. ...@@ -24,6 +24,8 @@ Tools to use to automatically test style and/or fix it.
[Example configuration](https://gitlab.torproject.org/juga/python_template_minimal/-/blob/main/.setup.cfg) [Example configuration](https://gitlab.torproject.org/juga/python_template_minimal/-/blob/main/.setup.cfg)
- [flake8-docstring](https://pypi.org/project/flake8-docstrings/): - [flake8-docstring](https://pypi.org/project/flake8-docstrings/):
follows PEP257. follows PEP257.
- [isort](https://pycqa.github.io/isort/): sort imports alphabetically and
automatically separated into sections and by type.
### Documentation ### Documentation
...@@ -64,8 +66,6 @@ Other conventions and tools ...@@ -64,8 +66,6 @@ Other conventions and tools
### Style ### Style
- [isort](https://pycqa.github.io/isort/): sort imports alphabetically and
automatically separated into sections and by type.
- in Emacs: - in Emacs:
- [elpy](https://github.com/jorgenschaefer/elpy/) can run flake8 or black checks automatically (or manually) - [elpy](https://github.com/jorgenschaefer/elpy/) can run flake8 or black checks automatically (or manually)
- [flycheck](https://www.flycheck.org/en/latest/) can warn you, "on the fly", about style issues in Python - [flycheck](https://www.flycheck.org/en/latest/) can warn you, "on the fly", about style issues in Python
... ...
......