ci/lint: drop PLR0912 as a duplicate of C901

This commit is contained in:
2026-10-07 00:40:08 +08:00
parent 9fac1ecfc0
commit e0e19fde8f
5 changed files with 7 additions and 4 deletions
+3
View File
@@ -136,6 +136,9 @@ ignore = [
"COM812", # missing-trailing-comma
"PLC0415", # import-outside-top-level
"TID252",
# Same axis as C901 (conditional branches per function) but a looser default,
# and C901 flags every function it does — keep the one gate (see AGENTS.md).
"PLR0912", # too-many-branches
"PLR0913", # too-many-arguments (common on constructors/composed functions)
]
allowed-confusables = [