mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-27 00:11:59 +01:00
add more pre-commit checks
This commit is contained in:
parent
4c5733d39c
commit
cfebf699f5
1 changed files with 13 additions and 1 deletions
|
@ -4,11 +4,23 @@ ci:
|
|||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
rev: v5.0.0
|
||||
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
|
||||
args: [--unsafe]
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: v24.9.2
|
||||
|
|
Loading…
Reference in a new issue