-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (37 loc) · 1004 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (37 loc) · 1004 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
31
32
33
34
35
36
37
38
39
# HOWTO: https://pre-commit.com/#usage
# dnf install pre-commit
# pre-commit install
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
# - id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: detect-aws-credentials
args:
- --allow-missing-credentials
- repo: https://github.com/ansible/ansible-lint.git
rev: v25.7.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
ci:
# The project is too huge for pre-commit.ci
skip: [ansible-lint]
autoupdate_schedule: monthly