add more pre-commit checks

This commit is contained in:
Gabriel Augendre 2024-10-10 23:36:54 +02:00
parent 4c5733d39c
commit cfebf699f5

View file

@ -4,11 +4,23 @@ ci:
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: v5.0.0
hooks: hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-yaml - id: check-yaml
args: [--unsafe] args: [--unsafe]
- id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/ansible/ansible-lint - repo: https://github.com/ansible/ansible-lint
rev: v24.9.2 rev: v24.9.2