From 515866a381c9e557df573c161fab2c5ea4d798de Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Thu, 27 Aug 2026 10:08:03 -0700 Subject: [PATCH] Chore: enable pygrep-hooks PGH005 ruff rule Zero current violations. Only PGH005 (invalid-mock-methods) is part of ruff 0.16's default rule set; the rest of pygrep-hooks is opt-in. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7298d048c..738e1c3d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -211,6 +211,7 @@ extend-select = [ "PERF101", # https://docs.astral.sh/ruff/rules/#perflint-perf "PERF102", # https://docs.astral.sh/ruff/rules/#perflint-perf "PERF402", # https://docs.astral.sh/ruff/rules/#perflint-perf + "PGH005", # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh "PIE", # https://docs.astral.sh/ruff/rules/#flake8-pie-pie "PLC", # https://docs.astral.sh/ruff/rules/#pylint-pl "PLE", # https://docs.astral.sh/ruff/rules/#pylint-pl