diff --git a/Makefile b/Makefile index 77a38f02f3..a6170b7c29 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..f6f50b0c03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,4 +5,4 @@ ignore = # - E501 - line too long (82 characters) E501 exclude = .git,__pycache__ -max-complexity = 10 +max-complexity = 20