-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
56 lines (48 loc) · 1.13 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
48
49
50
51
52
53
54
55
56
---
minimum_pre_commit_version: 3.3.1
repos:
# commit-msg hooks
# ----------
# Conventional Commit message checker (commitizen)
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.12.0
hooks:
- id: commitizen
stages:
- commit-msg
# pre-commit hooks
# ----------
# Standard pre-commit rules
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-yaml
args:
- --allow-multiple-documents
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
#- repo: https://github.com/ansible-community/ansible-lint
# rev: v6.16.1
# hooks:
# - id: ansible-lint
# args:
# - --nocolor
# additional_dependencies:
# - ansible==9.0.1
# - ansible-core>=2.16.0
- repo: https://github.com/IamTheFij/ansible-pre-commit
rev: v1.0.0
hooks:
- id: encryption-check