diff --git a/ci_scripts/flake8_linter_check.ini b/ci_scripts/flake8_linter_check.ini index b8daeaf70..008f0fa82 100644 --- a/ci_scripts/flake8_linter_check.ini +++ b/ci_scripts/flake8_linter_check.ini @@ -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 diff --git a/ci_scripts/flake8_syntax_check.ini b/ci_scripts/flake8_syntax_check.ini index 969379326..55e470e00 100644 --- a/ci_scripts/flake8_syntax_check.ini +++ b/ci_scripts/flake8_syntax_check.ini @@ -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,