Tweak global ruff config

Add D203 to the exempt list because it conflicts with how the ruff
formatter works by default.
This commit is contained in:
Trysdyn Black 2024-02-16 09:43:21 -08:00
parent 741b413fb3
commit 36b1aa93b0

View file

@ -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