planetary-computer-hub/.pre-commit-config.yaml

28 строки
604 B
YAML
Исходник Обычный вид История

2021-09-13 17:22:53 +03:00
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
2021-09-13 17:22:53 +03:00
hooks:
- id: yamllint
args: [-c=.yamllint.yaml]
2022-03-22 16:35:37 +03:00
- repo: https://github.com/antonbabenko/pre-commit-terraform
2021-09-13 17:22:53 +03:00
rev: v1.45.0
hooks:
- id: terraform_fmt
# terraform_docs currently not installing correctly.
# - id: terraform_docs
2021-09-13 23:25:39 +03:00
# - id: terraform_tflint
2021-09-13 17:22:53 +03:00
- repo: local
hooks:
- id: check_images
name: check_images
entry: ./scripts/check-images
files: "terraform/(staging|prod)/main.tf"
language: python
additional_dependencies:
- pyhcl
- httpx