From 1aad0c7b1af295708950dcffa2c661d33ec1579d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 9 Apr 2024 08:22:30 +0200 Subject: [PATCH] Flake8 rule C901 is about McCabe code complexity (#3673) * Flake8 rule C901 is about McCabe code complexity It is not about flake8-comprehensions. * max-complexity = 29 --- .flake8 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.flake8 b/.flake8 index 15e385901c..b16c3bf625 100644 --- a/.flake8 +++ b/.flake8 @@ -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 @@ -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,