From 8d1af73dc4791c084bd3ea164ad4194dd07a3614 Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Thu, 27 Aug 2026 10:08:24 -0700 Subject: [PATCH] Chore: enable pylint refactor (PLR) default-subset ruff rules Zero current violations. Only the 13 PLR codes ruff 0.16 enables by default; the rest of pylint-refactor (e.g. PLR2004, PLR0913) has hundreds of hits here and needs a separate, deliberate decision. --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 738e1c3d4..51aa5ee0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -215,6 +215,19 @@ extend-select = [ "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 + "PLR0124", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR0133", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR0206", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR0402", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1704", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1708", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1711", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1716", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1722", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1730", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1733", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR1736", # https://docs.astral.sh/ruff/rules/#pylint-pl + "PLR2044", # https://docs.astral.sh/ruff/rules/#pylint-pl "PTH", # https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth "Q", # https://docs.astral.sh/ruff/rules/#flake8-quotes-q "RSE", # https://docs.astral.sh/ruff/rules/#flake8-raise-rse