forked from p34709852/monkey
Modify configuration for flake8
This commit is contained in:
parent
e616fcdf50
commit
480f6ccc7f
|
@ -1,11 +1,13 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
## Warn about linter issues.
|
## Warn about linter issues.
|
||||||
|
|
||||||
exclude = ../monkey/monkey_island/cc/ui,
|
exclude = ../monkey/monkey_island/cc/ui
|
||||||
../monkey/common/cloud
|
|
||||||
show-source = True
|
show-source = True
|
||||||
max-complexity = 10
|
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 Count the number of occurrences of each error/warning code and print a report.
|
||||||
statistics = True
|
statistics = True
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
## Check syntax errors and fail the build if any are found.
|
## Check syntax errors and fail the build if any are found.
|
||||||
exclude =
|
exclude =
|
||||||
../monkey/monkey_island/cc/ui,
|
../monkey/monkey_island/cc/ui
|
||||||
../monkey/common/cloud
|
|
||||||
select =
|
select =
|
||||||
E901,
|
E901,
|
||||||
E999,
|
E999,
|
||||||
|
|
Loading…
Reference in New Issue