-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pre-commit-config.yaml
46 lines (46 loc) · 1.11 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- repo: https://github.com/awslabs/git-secrets
rev: 99d01d5
hooks:
- id: git-secrets
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
hooks:
- id: terraform_fmt
args:
- --args=-recursive
- --args=-check
- id: terraform_validate
exclude: terraform/modules/aws_cur_stack/[^/]+$
args:
- --tf-init-args=-reconfigure
- --tf-init-args=-upgrade
- --tf-init-args=-backend=false
- id: terraform_checkov
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args:
- --config=collect-resource-data/.flake8
- repo: local
hooks:
- id: pipenv-check
name: pipenv-check
entry: make check
language: system
types: [python]
pass_filenames: false
- id: test-unit
name: test-unit
entry: make test_unit
language: system
types: [python]
pass_filenames: false