LiteStar SQLAlchemy template You should have installed pre-commit and ruff locally: # pip install ruff # pip install pre-commit # pre-commit install This will activate ruff check --fix anytime you want to commit TODO: tests P.S. feel free to open PR with changes