spring cleaning

This commit is contained in:
Richard Macias
2026-03-07 22:28:58 -06:00
parent 9707355f94
commit e539043aad
17 changed files with 149 additions and 233 deletions

24
ruff.toml Normal file
View File

@@ -0,0 +1,24 @@
target-version = "py311"
line-length = 120
[lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line length handled by formatter
"SIM108", # ternary operator suggestions (readability tradeoff)
]
[lint.isort]
known-first-party = ["constants", "utils", "help_formatter"]
[format]
quote-style = "double"