2023-03-30 06:53:15 +00:00
|
|
|
exclude: |
|
|
|
|
(?x)^(
|
|
|
|
tests/.*|
|
|
|
|
CHANGELOG.md
|
|
|
|
)$
|
2023-03-29 19:33:22 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-05-19 18:12:26 +00:00
|
|
|
rev: v4.4.0
|
2023-03-29 19:33:22 +00:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
stages: [commit]
|
|
|
|
- id: check-json
|
|
|
|
stages: [commit]
|
|
|
|
- id: check-toml
|
|
|
|
stages: [commit]
|
|
|
|
- id: check-merge-conflict
|
|
|
|
stages: [commit]
|
|
|
|
- id: check-case-conflict
|
|
|
|
stages: [commit]
|
|
|
|
- id: detect-private-key
|
|
|
|
stages: [commit]
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
2023-08-11 21:04:07 +00:00
|
|
|
rev: v1.16.3
|
2023-03-29 19:33:22 +00:00
|
|
|
hooks:
|
|
|
|
- id: typos
|
|
|
|
stages: [commit]
|
|
|
|
- repo: https://github.com/crate-ci/committed
|
2023-08-11 21:04:07 +00:00
|
|
|
rev: v1.0.20
|
2023-03-29 19:33:22 +00:00
|
|
|
hooks:
|
|
|
|
- id: committed
|
|
|
|
stages: [commit-msg]
|