DEV Community

Discussion on: Which Python static analysis tools should I use?

Collapse
 
ldrscke profile image
Christian Ledermann

Note that flake8 also supports plugins some of my favourites are:

flake8-annotations-complexity
flake8-awesome
flake8-blind-except
flake8-bugbear
flake8-cognitive-complexity
flake8-commas
flake8-debugger
flake8-docstrings
flake8-expression-complexity
flake8-pep3101
flake8-rst-docstrings
flake8-string-format
flake8-typing-imports
pep257
pep8
pep8-naming

Complexity checks:
lizard
mccabe
radon
congnitive-complexity (see above with flake8)

Mypy is not the only typechecker available there are also:
pyright
pyre-check
pytype
=> infoworld.com/article/3575079/4-py...