-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
53 lines (47 loc) · 1.22 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
41
42
43
44
45
46
47
48
49
50
51
52
exclude: '.terraform'
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v3.4.0
hooks:
- id: check-added-large-files
args: [--maxkb=5000]
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: mixed-line-ending
args: [--fix=lf]
- id: pretty-format-json
args: [--autofix, --indent=2, --no-ensure-ascii]
- id: trailing-whitespace
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.45.0
hooks:
- id: terraform_fmt
- repo: ssh://git@bitbucket.biscrum.com:7999/infiaas/ods-pre-commit-hooks
rev: v0.1.0
hooks:
- id: terraformcreatei2o
- id: terraformcreatebpmoduleoutputs
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.45.0
hooks:
- id: terraform_fmt
- id: terraform_docs
- repo: local
hooks:
- id: test
name: make test
description: Run integration tests.
entry: make test
language: system
files: (\.tf|\.tf\.json|\.rb)$
pass_filenames: false
verbose: true