From fdaa60f5046457a1dab671938177794b53f226f3 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Fri, 25 Apr 2025 10:02:54 -0700 Subject: [PATCH] Update ruff defaults - Minimum version py310, to prevent "Py 3.9 does not have foo" errors - Drop ANN101 because it's deprecated anyway --- .config/ruff/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/ruff/pyproject.toml b/.config/ruff/pyproject.toml index 297c888..cad2a24 100644 --- a/.config/ruff/pyproject.toml +++ b/.config/ruff/pyproject.toml @@ -1,4 +1,5 @@ [tool.ruff] +target-version = "py310" line-length = 120 indent-width = 4 @@ -41,7 +42,6 @@ lint.select = [ ] lint.ignore = [ - "ANN101", # No type hint for "self" - not necessary and makes noisy code "D203", # Blank line required before class docstring - conflicts with ruff's own formatter "D211", # No line before class, incompatible with D203 - one line before class "D212", # Summary on first line; incompatible with D213 - summary on second line