Turned on all ruff rules. Formatted all files.

This commit is contained in:
2024-05-22 15:06:39 -04:00
parent 3ac164ab65
commit 796b052bfc
18 changed files with 161 additions and 469 deletions
+20 -2
View File
@@ -63,8 +63,26 @@ target-version = "py38"
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F", "D100", "D1"]
ignore = ["D107"]
select = ["ALL"]
ignore = [
"D107",
"W191",
"E111",
"E114",
"E117",
"D203",
"D206",
"D212",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]