pre-commit
This commit is contained in:
parent
bd7c00b9eb
commit
1173d1c5c4
@ -2,7 +2,7 @@
|
|||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v3.2.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
@ -18,10 +18,6 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- terraform apply
|
- terraform apply
|
||||||
|
|
||||||
destroy:
|
|
||||||
cmds:
|
|
||||||
- terraform destroy
|
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
cmds:
|
cmds:
|
||||||
- terraform fmt
|
- terraform fmt
|
||||||
@ -34,7 +30,3 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- pre-commit autoupdate
|
- pre-commit autoupdate
|
||||||
- pre-commit run --all-files
|
- pre-commit run --all-files
|
||||||
|
|
||||||
cleanup:
|
|
||||||
cmds:
|
|
||||||
- rm -rf .terraform* terraform.*
|
|
||||||
|
@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
|
|||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user