From 1b614e908da6e8dc38604e4bea5b15e2be70c892 Mon Sep 17 00:00:00 2001 From: Laszlo Magyar Date: Tue, 6 Jan 2026 17:16:04 +0100 Subject: [PATCH] remove/rename deprecated ruff lint rules --- pyproject.toml | 2 -- tests/ruff.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d240b9f2..f1ad794e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,8 +133,6 @@ asyncio_mode = "auto" [tool.ruff.lint] ignore = [ - "ANN101", # Self... explanatory - "ANN102", # cls... just as annoying as ANN101 "ANN401", # Opinioated warning on disallowing dynamically typed expressions "D203", # Conflicts with other rules "D213", # Conflicts with other rules diff --git a/tests/ruff.toml b/tests/ruff.toml index 1005d3e1..0aa230a0 100644 --- a/tests/ruff.toml +++ b/tests/ruff.toml @@ -8,5 +8,5 @@ lint.extend-select = [ lint.extend-ignore = [ "S101", # Use of assert detected. As these are tests... "SLF001", # Tests will access private/protected members... - "TCH002", # pytest doesn't like this one... + "TC002", # pytest doesn't like this one... ]