[tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] # Enable Pyflakes, pycodestyle, isort select = ["F", "E", "W", "I"] # Ignore specific rules ignore = [ "E501", # Line too long "W293", # Blank line contains whitespace - docstrings often have this ] # Exclude files and directories exclude = [ ".git", ".venv", "venv", "__pycache__", "migrations", ] [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic", "starlette"]