pre-commit hook: ensure multi-line blocktrans blocks in Django templates are trimmed
https://github.com/gimbo/blocktrans-trimmed-check.git
This is a pre-commit hook, written for the pre-commit.com
framework, which looks for Django template
files containing a multi-line
blocktrans
block but no trimmed directive.
Example .pre-commit-config.yaml entry: