forked from infra/ansible
Enable pre-commit linters, set versions to hash
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
This commit is contained in:
parent
dd027f50c6
commit
25175c7261
2 changed files with 1087 additions and 20 deletions
|
|
@ -1,22 +1,22 @@
|
|||
---
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
---
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
|
||||
# - repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
# rev: v3.2.0
|
||||
# hooks:
|
||||
# - id: trailing-whitespace
|
||||
# - id: end-of-file-fixer
|
||||
# - id: check-yaml
|
||||
# - id: check-added-large-files
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: cba56bcde1fdd01c1deb3f945e69764c291a6530 # frozen: v1.38.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.35.1
|
||||
hooks:
|
||||
- id: yamllint
|
||||
|
||||
# - repo: https://github.com/ansible/ansible-lint
|
||||
# rev: v24.12.1
|
||||
# hooks:
|
||||
# - id: ansible-lint
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: 262624cd0ab22a4221293216856c59671ce7aa5e # frozen: v26.6.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
pass_filenames: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue