From 1b7b531d6161b523e8eca87b8e53e3f9aac02908 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 9 Jun 2025 17:28:07 -0400 Subject: [PATCH] Meta: Use "extend-select" to enable non-default python linters This way we don't have to track the defaults. --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5540ddecd16..f4b301b3e57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,11 @@ line-length = 120 [tool.ruff.lint] -# On top of the defaults (`E4`, E7`, `E9`, and `F`), enable flake8-bugbear (`B`) and isort (`i`). # https://docs.astral.sh/ruff/rules/ -select = ["E4", "E7", "E9", "F", "B", "I"] +extend-select = [ + "B", # flake8-bugbear + "I", # isort +] [tool.ruff.lint.isort] force-single-line = true