Add a pre-commit config to this repo. The changes here are all as a result of running pre-commit run --all-files before committing.
Also add pre-commit run --all-files to the code generation CI, replacing the current black invocation.
According to https://pre-commit.ci/, the CI service will fix PRs, but won't push for commits made by bots. I understand that to mean we need to invoke pre-commit manually in our CI.
Closes #127
Add a pre-commit config to this repo. The changes here are all as a result of running
pre-commit run --all-files
before committing.Also add
pre-commit run --all-files
to the code generation CI, replacing the currentblack
invocation.According to https://pre-commit.ci/, the CI service will fix PRs, but won't push for commits made by bots. I understand that to mean we need to invoke pre-commit manually in our CI.