chore: enforce ruff lint and format standards across backend
This commit is contained in:
parent
a8e312a4f8
commit
a6cc585dd0
39 changed files with 459 additions and 559 deletions
|
|
@ -34,4 +34,15 @@ dev = [
|
|||
"pytest-asyncio>=0.24",
|
||||
"pytest-cov>=6",
|
||||
"respx>=0.22",
|
||||
"ruff>=0.16,<0.17",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
# Default rule set minus EXE: Docker Desktop bind-mounts report every file as
|
||||
# executable (git index stays 100644), so EXE002 would fire on the dev mount
|
||||
# but never on Linux CI. Everything else is enforced as ruff's default.
|
||||
ignore = ["EXE002"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue