pre-commit
pre-commit copied to clipboard
Add tfsec
This PR adds tfsec as a hook.
Since tfsec works with folders, not files, I had to extract directory paths from file paths. uniq removes duplicate paths, and require_serial: true disables parallelism and also reduces duplicates eventually.
Tested with pre-commit try-repo.
This would be great 🙏