judithabk6 / med_bench

BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Add ruff to a pre-commit hook script to enhance CI / CD #91

Open brash6 opened 1 week ago

brash6 commented 1 week ago

I recently discovered a great tool named ruff "An extremely fast Python linter and code formatter, written in Rust."

I think it could be a great thing to set up to enhance both the global cleaness of the package and the CI / CD

We could set it up using a pre-commit hook script.

What do you think @houssamzenati @bthirion @judithabk6 ?

bthirion commented 1 week ago

I can see it's used for Nilearn. I'm OK with it.