From 991543046dacfd77d0890aac7115d94b169cdcc1 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 30 Nov 2026 23:39:08 +0100 Subject: [PATCH] Enable PGH in `ruff` --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 99402ce..8126fb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -273,6 +273,8 @@ select = [ # "NPY", # Perflint => No performance anti-patterns # "PERF", + # pygrep-hooks => Specific "# noqa" and "# type: ignore" comments + # "PGH", # Pylint => Fewer bugs and simpler code # "PL", # flake8-use-pathlib => `pathlib` instead of `os` functions @@ -577,6 +579,8 @@ select = [ "NPY", # Perflint => No performance anti-patterns "PERF", + # pygrep-hooks => Specific "# noqa" and "# type: ignore" comments + "PGH", # Pylint => Fewer bugs and simpler code "PL", # flake8-use-pathlib => `pathlib` instead of `os` functions