-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 848 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 848 Bytes
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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.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: double-quote-string-fixer
- id: requirements-txt-fixer
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v26.4.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- 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/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
args: [-I, .codespellignore]