From 5c4965a86b539fb4ef6052c6226fa6030b6bef5b Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Sat, 2 May 2026 05:33:32 +0000 Subject: [PATCH] Skip removal of PLR2004. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8b8fa67..241a5fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,7 +155,7 @@ ignore = [ "PLR0912", # legacy complexity; keep other correctness rules enabled "PLR0913", # legacy complexity; keep other correctness rules enabled "PLR0915", # legacy complexity; keep other correctness rules enabled - "PLR2004", # legacy comparisons use inline constants + "PLR2004", # we like magic numbers (don't remove this suppression) "PLW0603", # module-level shared state exists in server runtime code "TRY003", # exception-message strictness too noisy on legacy handlers ]