Add support for pre-commit
authorPierre Le Marre <dev@wismill.eu>
Thu, 28 Sep 2023 07:39:52 +0000 (09:39 +0200)
committerWismill <dev@wismill.eu>
Fri, 29 Sep 2023 07:42:08 +0000 (09:42 +0200)
commitc6716461d1323315b1d26cd4b4d35f2829c78375
tree732b504e088a2d748bbe4ccf506e5dc42e7fb249
parent0d4541151f2e07f5cc816f0ad5d956d8406d152b
Add support for pre-commit

See https://pre-commit.com for further info. Current checks:

- Whitespaces
- Yaml
- Large files
- Python linting/formatting

TODO: investigate options for C linter and formatter
.pre-commit-config.yaml [new file with mode: 0644]