From a0d049cff14f7ebf06e13339915c6081ee46f0e8 Mon Sep 17 00:00:00 2001 From: David Paul Graham Date: Sat, 14 Mar 2026 08:08:24 -0400 Subject: [PATCH] move ruff lint configs to separate section and reduce the target python version to the earliest supported python version # Conflicts: # pyproject.toml --- pyproject.toml | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c99195c..d910b56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,12 +35,37 @@ dev = [ ################## [tool.ruff] fix = true -lint.fixable = ["ALL"] -lint.ignore = ["A003", "COM812", "D", "DJ008", "ERA001", "ISC001", "PLC2401", "PLC2403", "PT011", "RUF001", "S101", "S105", "S608", "SIM103", "TC001", "TC002", "TC003", "UP040"] -lint.select = ["ALL"] -lint.unfixable = ["ERA001", "F401"] extend-include = ["package_test/**/*.py"] -target-version = "py312" +target-version = "py310" + +[tool.ruff.lint] +fixable = ["ALL"] +extend-ignore = [ + "RUF012", + "A003", + "COM812", + "D", + "DJ008", + "ERA001", + "ISC001", + "PLC2401", + "PLC2403", + "PT011", + "RUF001", + "S101", + "S105", + "S608", + "SIM103", + "TC001", + "TC002", + "TC003", + "UP040" +] +select = ["ALL"] +unfixable = [ + "ERA001", + "F401" +] ################## # mypy