Skip to content

Commit

Permalink
Flake8 rule C901 is about McCabe code complexity (#3673)
Browse files Browse the repository at this point in the history
* Flake8 rule C901 is about McCabe code complexity

It is not about flake8-comprehensions.

* max-complexity = 29
  • Loading branch information
cclauss authored Apr 9, 2024
1 parent c025be6 commit 1aad0c7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Exclude the grpc generated code
exclude = ./manim/grpc/gen/*, __pycache__,.git,
per-file-ignores = __init__.py:F401
max-complexity = 15
max-complexity = 29
max-line-length = 88
statistics = True
# Prevents some flake8-rst-docstrings errors
Expand All @@ -27,9 +27,6 @@ extend-ignore = E203, W503, D202, D212, D213, D404
# Plug-in: flake8-simplify
SIM105, SIM106, SIM119,

# Plug-in: flake8-comprehensions
C901

# Plug-in: flake8-pytest-style
PT001, PT004, PT006, PT011, PT018, PT022, PT023,

Expand Down

0 comments on commit 1aad0c7

Please sign in to comment.