terraform-openstack-landing.../.pre-commit-config.yaml
Bertrand Lanson 8611f1d266
Some checks failed
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
pull-requests-open / Check pre-commit status (pull_request) Failing after 6s
ci: install dependencies for pre-commit hooks
2024-09-08 14:44:01 +02:00

29 lines
854 B
YAML

repos:
- repo: https://github.com/tofuutils/pre-commit-opentofu
rev: v1.0.2
hooks:
- id: tofu_fmt
- id: tofu_docs
args:
- "--hook-config=--path-to-file=README.md"
- "--hook-config=--add-to-existing-file=true"
- "--hook-config=--create-file-if-not-exist=true"
- "--hook-config=--use-standard-markers=true"
- "--args=--escape=false"
- "--args=--lockfile=false"
- "--args=--indent 3"
- "--args=--show all"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.29.0
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- post-commit
- push