Skip to content

Commit d380b75

Browse files
Extend pre-commit
1 parent e21916b commit d380b75

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,17 @@ repos:
66
args: [--allow-multiple-documents]
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
9+
10+
- repo: https://github.com/adrienverge/yamllint
11+
rev: v1.26.3
12+
hooks:
13+
- id: yamllint
14+
args: [-c=.yamllint]
15+
16+
- repo: https://github.com/robertdebock/pre-commit
17+
rev: v1.2.3
18+
hooks:
19+
- id: ansible_role_find_unused_variable
20+
- id: ansible_role_find_empty_files
21+
- id: ansible_role_find_empty_directories
22+
- id: ansible_role_fix_readability

0 commit comments

Comments
 (0)