Skip to content

Commit f70fcbb

Browse files
committed
feat: Include tftest.hcl and tfmock.hcl when formatting
1 parent 6c84595 commit f70fcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Rewrites all Terraform configuration files to a canonical format.
1414
entry: hooks/terraform_fmt.sh
1515
language: script
16-
files: \.(tf|tofu|tfvars)$
16+
files: \.(tf|tofu|tfvars|tftest\.hcl|tfmock\.hcl)$
1717
exclude: \.terraform/.*$
1818

1919
- id: terraform_docs

0 commit comments

Comments
 (0)