-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
47 lines (41 loc) · 1.15 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: fix-encoding-pragma
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.1
hooks:
- id: commitizen
stages:
- commit-msg
- repo: https://github.com/ansible/ansible-lint
rev: v6.3.0
hooks:
- id: ansible-lint
entry: ansible-lint . --force-color
pass_filenames: false
always_run: true
additional_dependencies:
- .[community]
- repo: https://github.com/robertdebock/pre-commit
rev: v1.5.1
hooks:
- id: ansible_role_find_unused_variable
- id: ansible_role_find_empty_files
- id: ansible_role_find_empty_directories
- id: ansible_role_fix_readability
- id: ansible_role_find_undefined_handlers
- id: ansible_role_find_unquoted_values
...