[tool.ruff] line-length = 110 target-version = "py310" [tool.ruff.lint] # Enable Pyflakes, pycodestyle, isort, and more select = ["E", "F", "I", "W", "N", "UP"] ignore = [] # Allow autofix for all enabled rules (when `--fix`) is provided. fixable = ["ALL"] unfixable = [] # Exclude a variety of commonly ignored directories. exclude = [ ".git", ".ruff_cache", ".venv", "__pypackages__", "dist", "node_modules", "venv", ] [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic", "uvicorn"] [tool.ruff.lint.mccabe] max-complexity = 10