InvenTree/setup.cfg
2022-02-13 21:19:41 +01:00

26 lines
592 B
INI

[flake8]
ignore =
# - W605 - invalid escape sequence
W605,
# - E501 - line too long (82 characters)
E501,
# - E722 - do not use bare except
E722,
# - C901 - function is too complex
C901,
# - N802 - function name should be lowercase
# TODO (In the future, we should conform to this!)
N802,
# - N806 - variable should be lowercase
N806,
# - N812 - lowercase imported as non-lowercase
N812,
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*
max-complexity = 20
[coverage:run]
source = ./InvenTree
omit=
InvenTree/wsgi.py
InvenTree/ci_render_js.py