open-grid-emissions icon indicating copy to clipboard operation
open-grid-emissions copied to clipboard

Set up pre-commit hooks

Open grgmiller opened this issue 1 year ago • 0 comments

We should set up pre-commit hooks for enforcing formatting and other requirements in the code, especially if we start having more contributors.

Catalyst has a template repo available that we could consider using to set this up: https://github.com/catalyst-cooperative/cheshire

Specifically, these are the specific hooks they suggest: https://github.com/catalyst-cooperative/cheshire/blob/main/.pre-commit-config.yaml

We might want to deviate from this based on our specific needs

grgmiller avatar Aug 19 '22 17:08 grgmiller