-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
40 lines (40 loc) · 1.19 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
39
40
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: check-added-large-files
- id: end-of-file-fixer
- repo: local
hooks:
- id: pre-commit-terraform
name: pre-commit Terraform
language: system
entry: bash -c 'cd terraform && pre-commit run --all-files'
require_serial: true
verbose: true
- id: terraform-docs
name: Terraform Documentation
language: script
entry: ./scripts/terraform_docs.sh
require_serial: true
verbose: true
- id: pre-commit-python
name: pre-commit Python
language: system
entry: bash -c 'cd airflow && pre-commit run --all-files'
require_serial: true
verbose: true
- id: pre-commit-helms
name: pre-commit Helms
language: system
entry: bash -c 'cd helms && pre-commit run --all-files'
require_serial: true
verbose: true
- id: helm-docs
name: Terraform Documentation
language: script
entry: ./scripts/helm_docs.sh
require_serial: true
verbose: true