jrieke / traingenerator

🧙 A web app to generate template code for machine learning
https://traingenerator.jrieke.com
MIT License
1.36k stars 181 forks source link

Add pre-commit hook for Black formatting #11

Open andodet opened 3 years ago

andodet commented 3 years ago

Summary

Thanks for the interesting package, I can see it softening the burden of writing lots of boiler-plate code for standard-ish modeling tasks.

I've noticed code formatting with black is enforced in CONTRIBUTING.md. Might be a good idea to add a pre-commit hook to take that out of the equation when reviewing pull requests.

Details

Checklist