forked from juju4/ansible-tinyproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
32 lines (32 loc) · 913 Bytes
/
.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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.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/ansible-community/ansible-lint.git
rev: v6.8.2
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
hooks:
- id: codespell
args: [-I, .codespellignore]
# - repo: [email protected]:Yelp/detect-secrets
# rev: v1.1.0
# hooks:
# - id: detect-secrets
# args: ['--baseline', '.secrets.baseline']
# exclude: .*/tests/.*