From 502574b3e988e345d065b4f123dccd635defbb1d Mon Sep 17 00:00:00 2001 From: Ivan Yordanov Date: Wed, 27 Sep 2023 02:10:47 +0300 Subject: [PATCH] ci(ruff): configure --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 30ff10304..7563a267a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,8 +99,7 @@ ignore = [ "RET506", # Unnecessary {branch} after raise statement -- Lots of false positives "RET507", # Unnecessary {branch} after continue statement -- Lots of false positives "RET508", # Unnecessary {branch} after break statement -- Lots of false positives - "TCH001", # - # "TCH002", + "TCH001", # Move application import {} into a type-checking block -- Breaks KPOps "PLR09", # upper bound on number of arguments, functions, etc. -- Inconvenient to enforce "PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable -- Inconvenient to enforce "PLW2901", # `for` loop variable `{var}` overwritten by assignment target -- Inconvenient to enforce