Closed norlandrhagen closed 1 year ago
Good question @norlandrhagen! We are already using pre-commit on some of our other repos, such as Pythia Foundations.
It makes sense to me to use the same tool for the Cookbooks to ensure some standardization of code style.
Hi there @brian-rose, sounds great! I added a pre-commit config, which is a duplicate of the one in Pithia Foundations
.
Here is the PR: https://github.com/ProjectPythia/cookbook-template/pull/103
Closing this with the merger of #103, but just noting here that we might revisit after we see how the pre-commit autoupdates go.
Hi there,
Wondering if the use of
pre-commit
has been considered? It might help to enforce some standardization between cookbooks. If there is any interest, I would be happy to add a config file to the template.@ktyle @mgrover1