Linted and formatted all files
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
exclude = [
|
||||
"alembic/versions/*.py", # Auto-generated Alembic migration files
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"F", # pyflakes
|
||||
@@ -9,7 +14,13 @@ select = [
|
||||
]
|
||||
ignore = []
|
||||
|
||||
[tool.ruff.isort]
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**/*.py" = [
|
||||
"F811", # redefinition of unused name
|
||||
"F401", # unused import
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["app"]
|
||||
|
||||
[tool.ruff.format]
|
||||
|
||||
Reference in New Issue
Block a user