[tool.ruff] target-version = "py38" line-length = 100 [tool.ruff.lint] select = [ "E", # pycodestyle errors "F", # pyflakes "B", # flake8-bugbear "I", # isort ] ignore = ["B008"] # Allow Depends() in function defaults which is FastAPI's pattern [tool.ruff.format] quote-style = "double" indent-style = "space" line-ending = "auto" [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic"]