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:
parent
741b413fb3
commit
36b1aa93b0
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ select = [
|
||||||
|
|
||||||
ignore = [
|
ignore = [
|
||||||
"ANN101", # No type hint for "self" - not necessary and makes noisy code
|
"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
|
"D211", # No line before class, incompatible with D203 - one line before class
|
||||||
"D212", # Summary on first line; incompatible with D213 - summary on second line
|
"D212", # Summary on first line; incompatible with D213 - summary on second line
|
||||||
"D400" # Summary should end with period - duplicates D415 - summary ends with punctuation
|
"D400" # Summary should end with period - duplicates D415 - summary ends with punctuation
|
||||||
|
|
Loading…
Add table
Reference in a new issue