From 627c35eb7c764f1a0264427a66ce93dc4d5a9914 Mon Sep 17 00:00:00 2001 From: David Davis Date: Thu, 23 Jul 2026 17:56:03 -0400 Subject: [PATCH] Set ruff select setting for 0.16.0 The new release of ruff 0.16.0 is raising hundreds of new errors for plugins. This sets select back to what it was < 0.16.0. Blog post with more info: https://astral.sh/blog/ruff-v0.16.0#better-default-rule-set --- pyproject.toml | 1 + templates/github/pyproject.toml.tool.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cd077647..23f60e26 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,4 +11,5 @@ line-length = 100 extend-exclude = ["templates"] [tool.ruff.lint] +select = ["E4", "E7", "E9", "F"] extend-select = ["I"] diff --git a/templates/github/pyproject.toml.tool.j2 b/templates/github/pyproject.toml.tool.j2 index feab7559..4dc3b994 100644 --- a/templates/github/pyproject.toml.tool.j2 +++ b/templates/github/pyproject.toml.tool.j2 @@ -68,6 +68,7 @@ extend-exclude = [ [tool.ruff.lint] # This section is managed by the plugin template. Do not edit manually. +select = ["E4", "E7", "E9", "F"] extend-select = [ "I", "INT",