s3rius / FastAPI-template

Feature rich robust FastAPI template.
MIT License
1.79k stars 161 forks source link

Add Ruff #196

Closed raccoonex closed 1 week ago

raccoonex commented 7 months ago

Hi,

I tried Ruff recently and I was astonished by the speed. It would be awesome if it was integrated with the pre-commit hooks.

s3rius commented 7 months ago

Agree. Personally I use ruff for several projects now.

thadk commented 1 month ago

I noticed this fork has a rough Ruff example implementation—see here for the final .ruff.toml config.

(SQLModel too!)