[tool.ruff] target-version = "py311" line-length = 120 [tool.ruff.lint] # B008: Depends() in defaults is the FastAPI standard pattern # BLE001: Intentional broad catches in health checks, audit logging, background workers # RUF100: noqa directives may reference rules that aren't enabled in this subset # E712: SQLAlchemy requires `== True` for boolean column comparisons # UP042: str+Enum pattern works fine and is more compatible across Python versions # UP017: timezone.utc is clearer than datetime.UTC for our codebase ignore = ["B008", "BLE001", "RUF100", "E712", "UP042", "UP017"] select = ["E", "F", "W", "I", "UP", "C4"]