-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path.pre-commit-config.yaml
38 lines (38 loc) · 1.04 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: 'files/patch-*'
- id: trailing-whitespace
exclude: 'files/patch-*'
- id: check-added-large-files
- id: check-json
- id: detect-private-key
- id: check-case-conflict
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: [-I, .codespellignore]
exclude: >
(?x)^(
templates/workstation.inf|
defaults/main.yml|
vars/de-DE.yml
)$
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v24.7.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
# - repo: https://github.com/Yelp/detect-secrets
# rev: v1.1.0
# hooks:
# - id: detect-secrets
# args: ['--baseline', '.secrets.baseline']
# exclude: .*/tests/.*