[tool.ruff] line-length = 88 target-version = "py39" [tool.ruff.lint] select = ["E", "F", "I", "N", "W", "B", "UP", "ASYNC", "C4", "PYI", "PL", "RUF", "SIM"] ignore = ["B008"] # Allow function calls in argument defaults (FastAPI uses this pattern a lot) [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401", "E402"] "migrations/*" = ["E402"] [tool.ruff.lint.isort] known-first-party = ["app"] [tool.ruff.format] quote-style = "double" indent-style = "space" line-ending = "auto" skip-magic-trailing-comma = false docstring-code-format = true