InvenTree/setup.cfg

34 lines
917 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,
2022-05-15 23:20:04 +00:00
# - D415 - First line should end with a period, question mark, or exclamation point
D415,
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,InvenTree/plugins/*
2019-04-25 11:09:02 +00:00
max-complexity = 20
2022-05-15 23:20:04 +00:00
docstring-convention=google
2021-08-19 22:35:25 +00:00
[coverage:run]
source = ./InvenTree
2022-05-15 23:12:19 +00:00
[isort]
src_paths=InvenTree
skip_glob =*/migrations/*.py
known_django=django
import_heading_firstparty=InvenTree imports
import_heading_thirdparty=Third-Party imports
sections=FUTURE, STDLIB, DJANGO, THIRDPARTY, FIRSTPARTY, LOCALFOLDER