Open
Description
automated detection of well known code flaws and a common way of formatting can be very helpfull to avoid issues.
This issue is as a placeholder to create a page explaining static code analysis tools as mentioned in our contribution guide (Ruff with configured Bandit) and dynamic analysis tools such as pyre.
It might be required to merge it with the topic on type hints to avoid duplication. We should however provide some sort of solid idea of bare minimum that should be included in every coding ide similar to Compiler Options Hardening Guide for C and C++
Example Static tools:
- Ruff
- Pylint
- Mypy
- Bandit
- PyDocstyle
- Mccabe
- Vulture
- SonarQube
- pep8
- flake8
Example dynamic tools:
- PyTest
- Pytest-cov
- coverage.py
Test automation:
- Tox