InvenTree/setup.cfg
Oliver Walters ae7fbd6112 Add PEP8-naming extension for flake
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00

15 lines
386 B
INI

[flake8]
ignore =
# - W293 - blank lines contain whitespace
W293,
W605,
# - E501 - line too long (82 characters)
E501, E722,
# - C901 - function is too complex
C901,
# - N802 - function name should be lowercase (In the future, we should conform to this!)
N802,
N812,
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
max-complexity = 20