Add more things to the precommit list

This commit is contained in:
Richard Hughes 2021-04-10 17:16:57 +01:00
parent 7f6f525f21
commit ede384068f

View File

@ -1,9 +1,13 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0 rev: v3.4.0
hooks: hooks:
- id: no-commit-to-branch - id: no-commit-to-branch
args: [--branch, master, --pattern, 1_.*_X] args: [--branch, master, --pattern, 1_.*_X]
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: forbid-new-submodules
- id: check-yaml - id: check-yaml
- id: check-json - id: check-json
- id: check-symlinks - id: check-symlinks