Skip to content

Commit 4d5bc68

Browse files
cclaussJasonGrace2282
authored andcommitted
Flake8 rule C901 is about McCabe code complexity (ManimCommunity#3673)
* Flake8 rule C901 is about McCabe code complexity It is not about flake8-comprehensions. * max-complexity = 29
1 parent 6442cf5 commit 4d5bc68

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.flake8

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Exclude the grpc generated code
33
exclude = ./manim/grpc/gen/*, __pycache__,.git,
44
per-file-ignores = __init__.py:F401
5-
max-complexity = 15
5+
max-complexity = 29
66
max-line-length = 88
77
statistics = True
88
# Prevents some flake8-rst-docstrings errors
@@ -27,9 +27,6 @@ extend-ignore = E203, W503, D202, D212, D213, D404
2727
# Plug-in: flake8-simplify
2828
SIM105, SIM106, SIM119,
2929

30-
# Plug-in: flake8-comprehensions
31-
C901
32-
3330
# Plug-in: flake8-pytest-style
3431
PT001, PT004, PT006, PT011, PT018, PT022, PT023,
3532

0 commit comments

Comments
 (0)