-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-hooks.yaml
47 lines (42 loc) · 1.27 KB
/
.pre-commit-hooks.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
- id: check-forcedremotesource
name: forcedremoutesources
description: Check if all modules hase remote sources.
entry: tfutility
args: ["forcedremotesource"]
language: python
files: (\.tf)$
- id: check-moveddate
name: forcedremoutesources
description: Check if all moved blocks has dates defined.
entry: tfutility
args: ["moveddate"]
language: python
files: (\.tf)$
- id: check-importdate
name: importdate
description: Check if all imports has dates defined
entry: tfutility
args: ["importdate"]
language: python
files: (\.tf)$
- id: check-forcedremotesource-docker
name: forcedremotesource
description: Check if all modules hase remote sources
args: ["forcedremotesource"]
language: docker_image
entry: ghcr.io/eieste/tfutility:1.1.1
files: (\.tf)$
- id: check-importdate-docker
name: importdate
description: Check if import block has decorated dates
args: ["importdate"]
language: docker_image
entry: ghcr.io/eieste/tfutility:1.1.1
files: (\.tf)$
- id: check-movedate-docker
name: movedate
description: Check if moved block has decorated dates
args: ["movedate"]
language: docker_image
entry: ghcr.io/eieste/tfutility:1.1.1
files: (\.tf)$