Skip to content

Commit 189d959

Browse files
committed
docs: add pre-commit to README.md
1 parent a46b118 commit 189d959

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ make undeploy
8181
## Contributing
8282
All contributions are welcome! Feel free to reach out on the [Spectro Cloud community Slack](https://spectrocloudcommunity.slack.com/join/shared_invite/zt-g8gfzrhf-cKavsGD_myOh30K24pImLA#/shared-invite/email).
8383

84+
Make sure `pre-commit` is [installed](https://pre-commit.com#install).
85+
86+
Install the `pre-commit` scripts:
87+
88+
```console
89+
pre-commit install --hook-type commit-msg
90+
pre-commit install --hook-type pre-commit
91+
```
92+
8493
### How it works
8594
This project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/).
8695

0 commit comments

Comments
 (0)