2023-02-21 15:52:25 +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-22 09:42:45 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-02-21 15:52:25 +01:00
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
2023-02-24 15:13:43 +01:00
|
|
|
- id: check-added-large-files
|
2023-02-22 09:42:45 +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: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
2023-02-21 15:52:25 +01:00
|
|
|
|
2023-02-22 09:42:45 +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
|