rafsaf / minimal-fastapi-postgres-template

minimal-fastapi-postgres-template based on official template but rewritten
https://minimal-fastapi-postgres-template.rafsaf.pl
MIT License
456 stars 60 forks source link

Question: Ruff + Black #43

Closed renja-g closed 6 months ago

renja-g commented 6 months ago

Is Black still needed when using Ruff?

rafsaf commented 6 months ago

Looking here: https://astral.sh/blog/the-ruff-formatter, it is now drop-in replacement for black from end of Oct 2023, you are correct, ruff format should work just fine without black.

Thanks for creating an issue, I'm not sure if I'll be doing this in current 5.0 release of this repo, or just do it along with 6.0 branch that I'm working on (not very intensively to be honest, but now I will have few free weeks so definitely it will be looking at it).

rafsaf commented 6 months ago

done in https://github.com/rafsaf/minimal-fastapi-postgres-template/pull/44

black removed from dependencies