Flake8 awesome plugins pack.
pip install flake8-awesome
vs
pip install flake8 flake8-builtins flake8-comprehensions flake8-eradicate # etc.
[flake8]
enable-extensions = G
exclude = .git, .venv
ignore =
A003 ; 'id' is a python builtin, consider renaming the class attribute
W503 ; line break before binary operator
S101 ; use of assert detected (useless with pytest)
max-complexity = 8
max-annotations-complexity = 3
max-expression-complexity = 7
max-line-length = 120
show-source = true
- flake8-annotations-complexity
- flake8-bandit
- flake8-breakpoint
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- flake8-eradicate
- flake8-expression-complexity
- flake8-if-expr
- flake8-isort
- flake8-logging-format
- flake8-print
- flake8-pytest
- flake8-pytest-style
- flake8-requirements
- flake8-return
- pep8-naming