forked from packit/deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
39 lines (37 loc) · 996 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
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: v3.0.3
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.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: v6.22.1
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/psf/black
rev: 23.12.0
hooks:
- id: black
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
hooks:
- id: shellcheck
ci:
# The project is too huge for pre-commit.ci
skip: [ansible-lint]
autoupdate_schedule: monthly