mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2026-05-21 11:58:46 +02:00
Add pre-commit hooks to find empty files and unused variables.
This commit is contained in:
parent
c3dfba9bfb
commit
bad6722e2d
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.3.0
|
||||
rev: v3.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
@ -18,3 +18,9 @@ repos:
|
|||
hooks:
|
||||
- id: ansible-lint
|
||||
pass_filenames: false
|
||||
|
||||
- repo: https://github.com/robertdebock/pre-commit
|
||||
rev: v1.1.2
|
||||
hooks:
|
||||
- id: ansible_role_find_unused_variable
|
||||
- id: ansible_role_find_empty_files
|
||||
|
|
|
|||
Loading…
Reference in a new issue