[tool.ruff] line-length = 100 target-version = "py38" [tool.ruff.lint] select = ["E", "F", "B", "I", "N", "W"] ignore = [ "E203", # Whitespace before ':' (for black compatibility) "E501", # Line too long (will be handled by formatter) ] [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "starlette", "alembic"] [tool.ruff.lint.per-file-ignores] # Tests can use assert "tests/**/*" = ["S101"] # Allow longer lines in settings "app/core/config.py" = ["E501"]