From ab372b901bb8bec7473f4a91412479678b122f44 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 28 Sep 2024 11:13:04 +0200 Subject: [PATCH] Enforce ruff/pygrep-hooks rule (PGH) --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d39e9d56fad..3b1534fe3c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -165,6 +165,7 @@ ignore = [ "B020", "B904", # Ruff enables opinionated warnings by default "B905", # Ruff enables opinionated warnings by default + "PGH003", # TODO: enable "PYI019", # TODO: enable "PYI024", "RUF001", @@ -183,6 +184,7 @@ select = [ "I", "ISC", "PERF", + "PGH", "PIE", "PLE", "PLR0",