mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
move config section
This commit is contained in:
20
setup.cfg
20
setup.cfg
@ -8,29 +8,9 @@ ignore =
|
||||
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,
|
||||
# - D202 - No blank lines allowed after function docstring
|
||||
D202,
|
||||
# - D415 - First line should end with a period, question mark, or exclamation point
|
||||
D415,
|
||||
# - B009 - Do not call getattr with a constant attribute value
|
||||
B009
|
||||
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,InvenTree/plugins/*
|
||||
per-file-ignores =
|
||||
# Do not enforce docstring on __init__
|
||||
__init__.py: D104
|
||||
max-complexity = 20
|
||||
docstring-convention=google
|
||||
ban-relative-imports = parents
|
||||
|
||||
[coverage:run]
|
||||
source = ./InvenTree
|
||||
|
||||
[isort]
|
||||
src_paths=InvenTree
|
||||
|
Reference in New Issue
Block a user