Speaker
Kyle Knapp
Materials
Note
-
example
-
Steps to automation
- tools
- flake8
- pycodestyle → style
- pyflakes → bug
- mccabe → complexity
flake8 --max-complexity ...
- pylint
- similar but stricter and more optional than flake8
- coverage
- other tools:
mypy
,doc8
,pydocstyle
- flake8
- automation on local env
Makefile
requirements-dev.txt
- atuomation on prod env
Makefile
requirements-prod.txt
- tools
- Best practices
- Always improve quality check
- Avoid compromising existing quality checks
- Be aware automated quality checks does not guarantee code quality