From 25b7bbb0edbb66ded377bea00eb6304e64476a9c Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:41:25 +0000 Subject: [PATCH] Add if-key-in-dict-del ruff rule to ignore list (#3082) The rule is concerned with code style rather than correctness or performance. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9f9a2685..0ef59153 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -212,6 +212,7 @@ ignore = [ "RUF012", # mutable-class-default "RUF015", # unnecessary-iterable-allocation-for-first-element "RUF039", # unraw-re-pattern + "RUF051", # if-key-in-dict-del "UP037", # quoted-annotation "W191", # tab-indentation ]