# Ruff configuration for paper-dynasty discord bot # See https://docs.astral.sh/ruff/configuration/ [lint] # F403/F405: star imports from exceptions.py are intentional — exceptions module # exports a curated set of project exceptions via __all__ # F541: f-strings without placeholders — cosmetic, low risk # F401: unused imports — many are re-exported or used conditionally # F841: unused variables — often intentional in SQLModel session patterns # E712: SQLAlchemy/SQLModel ORM comparisons to True/False require == syntax ignore = ["F403", "F405", "F541", "F401", "F841", "E712"]