Skip to content

Commit

Permalink
flake8: ignore C901 (Function is too complex)
Browse files Browse the repository at this point in the history
C901 is normally not checked because max-complexity is not set, but
if the user has max-complexity set in their user-wide .config/flake8,
this will prevent false positives.
  • Loading branch information
rfinnie authored and kiorky committed Apr 12, 2021
1 parent 9355394 commit 0bad4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -3,7 +3,7 @@ universal = 1

[flake8]
max-line-length = 120
ignore = W504,W503
ignore = C901,W504,W503

[coverage:run]
source = .
Expand Down

0 comments on commit 0bad4e6

Please sign in to comment.