- Also see Checklist for Code
- Use PEP440
- Use Versioneer for obtaining version from Git tag
- Use black to format the code
- Use isort to organize imports
- Use flake8 and pylint to check code style
- For Django projects, follow 2 scoops cookie cutter approach
- For other projects, prefer pytest
- Put tests into
/tests
- Put tests into
- Use standard library
argparse
for argument parsing - python-attrs and cattrs for no-boilerplate class creation
- Factory boy for test data creation
- Group includes as system, external, this project
- isort profile see snappy
- absolute imports
- Codacy with local prospector setup
- Black line length 100