Skip to content
README.md 964 B
Newer Older
nimrod's avatar
nimrod committed
# pre-commit hooks

nimrod's avatar
nimrod committed
A collection of [pre-commit](https://pre-commit.com/) hooks.
nimrod's avatar
nimrod committed

## Example .pre-commit-config.yaml

```yaml
---
- repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
nimrod's avatar
nimrod committed
  rev: 0.1.0  # Check for the latest tag or run pre-commit autoupdate.
nimrod's avatar
nimrod committed
  hooks:
nimrod's avatar
nimrod committed
    - id: shell-validate
    - id: ansible-syntax-check
    - id: ansible-vault-check
    - id: docker-compose
    - id: terraform-fmt  # uses the installed system terraform.
    - id: terraform-validate  # uses the installed system terraform.
    - id: poetry-check
    - id: branch-merge-conflict
    - id: pip-outdated
nimrod's avatar
nimrod committed
```

## License

This software is licensed under the MIT license (see `LICENSE.txt`).

## Author Information

Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/explore/>.