diff --git a/Makefile b/Makefile index 2cd84019..ab0bfa3e 100644 --- a/Makefile +++ b/Makefile @@ -61,8 +61,8 @@ test-py3: build check: # Static analysis - flake8 --max-complexity=10 src/dependency_injector/ - flake8 --max-complexity=10 examples/ + flake8 src/dependency_injector/ + flake8 examples/ # Code style analysis pydocstyle src/dependency_injector/ pydocstyle examples/ diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..28c9f30b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[flake8] +max_line_length = 99 +max_complexity = 10