Modify configuration for flake8

This commit is contained in:
Shreya 2021-04-05 15:46:45 +05:30
parent e616fcdf50
commit 480f6ccc7f
2 changed files with 6 additions and 5 deletions

View File

@ -1,11 +1,13 @@
[flake8]
## Warn about linter issues.
exclude = ../monkey/monkey_island/cc/ui,
../monkey/common/cloud
exclude = ../monkey/monkey_island/cc/ui
show-source = True
max-complexity = 10
max-line-length = 127
max-line-length = 100
### ignore "whitespace before ':'" and "line break before binary operator" for compatibility with black
extend-ignore = E203, W503
### --statistics Count the number of occurrences of each error/warning code and print a report.
statistics = True

View File

@ -2,8 +2,7 @@
## Check syntax errors and fail the build if any are found.
exclude =
../monkey/monkey_island/cc/ui,
../monkey/common/cloud
../monkey/monkey_island/cc/ui
select =
E901,
E999,