InvenTree/setup.cfg

23 lines
540 B
INI
Raw Normal View History

2017-04-10 20:55:25 +00:00
[flake8]
ignore =
# - W605 - invalid escape sequence
2020-06-11 09:46:36 +00:00
W605,
2017-04-10 20:55:25 +00:00
# - E501 - line too long (82 characters)
E501,
# - E722 - do not use bare except
E722,
2019-06-13 12:16:27 +00:00
# - C901 - function is too complex
C901,
2021-11-22 23:37:17 +00:00
# - N802 - function name should be lowercase
# TODO (In the future, we should conform to this!)
N802,
2021-02-03 13:51:00 +00:00
# - N806 - variable should be lowercase
N806,
# - N812 - lowercase imported as non-lowercase
N812,
2021-11-22 23:42:21 +00:00
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*
2019-04-25 11:09:02 +00:00
max-complexity = 20
2021-08-19 22:35:25 +00:00
[coverage:run]
source = ./InvenTree