feat: support .tofu file extension and update hooks/tools

Add support for the `.tofu` file extension in OpenTofu config
matching and documentation. Update pre-commit hooks, regex, and
README to reflect support for `.tofu` files alongside `.tf` and
`.tfvars`. Fix minor shell quoting and array assignment issues.
Upgrade pre-commit-hooks to v6.0.0.

Signed-off-by: Michael Rosenfeld <michael@rosesecurity.com>
This commit is contained in:
Michael Rosenfeld 2026-05-24 22:01:30 -04:00
commit 9624cc8f24
No known key found for this signature in database
GPG key ID: C17037A434741480
6 changed files with 14 additions and 14 deletions

View file

@ -98,4 +98,3 @@ jobs:
tags: |
registry.hub.docker.com/tofuutils/pre-commit-opentofu:nightly
provenance: false