diff --git a/Makefile b/Makefile index dadbb44999..72e8d8e818 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ clean: rm -f .coverage style: - flake8 InvenTree --ignore=C901,E501 + flake8 InvenTree test: python InvenTree/manage.py check diff --git a/setup.cfg b/setup.cfg index ea418b2daf..ceca732660 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,6 @@ ignore = # - W293 - blank lines contain whitespace W293, # - E501 - line too long (82 characters) - E501 + E501, exclude = .git,__pycache__ max-complexity = 10