mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add descriptions for all ignored errors
This commit is contained in:
parent
3cd891229c
commit
aa845ce87d
@ -1,14 +1,18 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
ignore =
|
ignore =
|
||||||
|
# - W605 - invalid escape sequence
|
||||||
W605,
|
W605,
|
||||||
# - E501 - line too long (82 characters)
|
# - E501 - line too long (82 characters)
|
||||||
E501, E722,
|
E501,
|
||||||
|
# - E722 - do not use bare except
|
||||||
|
E722,
|
||||||
# - C901 - function is too complex
|
# - C901 - function is too complex
|
||||||
C901,
|
C901,
|
||||||
# - N802 - function name should be lowercase (In the future, we should conform to this!)
|
# - N802 - function name should be lowercase (In the future, we should conform to this!)
|
||||||
N802,
|
N802,
|
||||||
# - N806 - variable should be lowercase
|
# - N806 - variable should be lowercase
|
||||||
N806,
|
N806,
|
||||||
|
# - N812 - lowercase imported as non-lowercase
|
||||||
N812,
|
N812,
|
||||||
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
|
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
|
||||||
max-complexity = 20
|
max-complexity = 20
|
||||||
|
Loading…
Reference in New Issue
Block a user