leap-stc / leap-stc.github.io

LEAP Technical Operations Manual Website
https://leap-stc.github.io/
5 stars 4 forks source link

Add pre-commit hooks #123

Closed jbusecke closed 4 months ago

jbusecke commented 8 months ago

Adding some automatic linting via pre-commit

github-actions[bot] commented 8 months ago

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: 368477c66c65e7fb6a23d5ea9ce09aa3b469a62e ✅ Deployment Preview URL: https://leap-stc.github.io/_preview/123

jbusecke commented 8 months ago

Ok these are helpful, but I really want an autofix option...not sure if/how that works in pre-commit. Will have to investigate at a later point.

jbusecke commented 8 months ago

Ah nice this now works with auto-fixes, but there is still a million issue remaingin. Need to manually fix those (mostly line lenght)