Add flake8 config

This commit is contained in:
Roman Mogylatov 2020-06-25 18:01:15 -04:00
parent 62e1995a7d
commit f176b02045
2 changed files with 5 additions and 2 deletions

View File

@ -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/

3
setup.cfg Normal file
View File

@ -0,0 +1,3 @@
[flake8]
max_line_length = 99
max_complexity = 10