InvenTree/setup.cfg

27 lines
656 B
INI
Raw Normal View History

2017-04-10 20:55:25 +00:00
[flake8]
ignore =
# - W293 - blank lines contain whitespace
W293,
2020-06-11 09:46:36 +00:00
W605,
2017-04-10 20:55:25 +00:00
# - E501 - line too long (82 characters)
2019-06-23 14:06:41 +00:00
E501, E722,
2019-06-13 12:16:27 +00:00
# - C901 - function is too complex
C901,
# - N802 - function name should be lowercase (In the future, we should conform to this!)
N802,
2021-02-03 13:51:00 +00:00
# - N806 - variable should be lowercase
N806,
N812,
2020-09-01 11:21:32 +00:00
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
2019-04-25 11:09:02 +00:00
max-complexity = 20
2021-08-19 22:35:25 +00:00
[coverage:run]
source = ./InvenTree
omit =
InvenTree/manage.py
InvenTree/setup.py
InvenTree/InvenTree/middleware.py
InvenTree/InvenTree/utils.py
InvenTree/InvenTree/wsgi.py
InvenTree/users/apps.py