2023-02-21 15:47:55 +01:00
|
|
|
# Remember to run `pre-commit install` at least once!
|
|
|
|
# Manual test run: `pre-commit run --all-files`
|
|
|
|
# Update? `pre-commit autoupdate`
|
|
|
|
#
|
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-02-21 18:44:52 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-02-21 15:47:55 +01:00
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
2023-02-21 18:44:52 +01:00
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: destroyed-symlinks
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: fix-byte-order-marker
|
2023-02-21 15:47:55 +01:00
|
|
|
|
2023-02-21 18:44:52 +01:00
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
|
|
rev: 0.21.0
|
|
|
|
hooks:
|
|
|
|
- id: check-dependabot
|
|
|
|
- id: check-github-actions
|
|
|
|
- id: check-github-workflows
|
|
|
|
- id: check-gitlab-ci
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: "v3.0.0-alpha.4"
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
|
|
|
rev: "2.7.1"
|
|
|
|
hooks:
|
|
|
|
- id: editorconfig-checker
|
|
|
|
alias: ec
|