From 36b1aa93b02da7df1b3eb58ee79d21146987712e Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Fri, 16 Feb 2024 09:43:21 -0800 Subject: [PATCH] Tweak global ruff config Add D203 to the exempt list because it conflicts with how the ruff formatter works by default. --- .config/ruff/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/ruff/pyproject.toml b/.config/ruff/pyproject.toml index 363b196..827b54b 100644 --- a/.config/ruff/pyproject.toml +++ b/.config/ruff/pyproject.toml @@ -42,6 +42,7 @@ select = [ 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 "D400" # Summary should end with period - duplicates D415 - summary ends with punctuation