13 lines
443 B
TOML
13 lines
443 B
TOML
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "N", "B", "A", "COM", "C4", "UP", "S", "BLE", "T10", "ISC", "G"]
|
|
ignore = [
|
|
"B008", # Function call in argument defaults (used by FastAPI for dependency injection)
|
|
"S104", # Binding to all interfaces (common in development environments)
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-third-party = ["fastapi", "sqlalchemy", "pydantic", "alembic"] |