-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
53 lines (51 loc) · 1.38 KB
/
.pre-commit-config.yaml
File metadata and controls
53 lines (51 loc) · 1.38 KB
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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-json
- id: detect-private-key
- id: check-case-conflict
- id: requirements-txt-fixer
- id: check-ast
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
# - id: detect-aws-credentials
- id: check-docstring-first
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: [-I, .codespellignore]
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
# exclude: .*/tests/.*
- repo: https://github.com/aristanetworks/j2lint.git
rev: v1.1.0
hooks:
- id: j2lint
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v25.1.3
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
additional_dependencies:
- jmespath
- repo: https://github.com/adrienverge/yamllint
rev: v1.36.0
hooks:
- id: yamllint
- repo: https://github.com/aristanetworks/j2lint.git
rev: v1.1.0
hooks:
- id: j2lint