[tool.ruff] line-length = 100 target-version = "py39" [tool.ruff.lint] select = ["E", "F", "I", "W"] ignore = ["E203", "E501", "E402"] # E203 for black compatibility, E501 for line length, E402 for imports not at top [tool.ruff.lint.isort] known-third-party = ["fastapi", "pydantic", "sqlalchemy", "alembic", "jose", "passlib"] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] # Ignore unused imports in __init__.py files