blocktrans-trimmed-check
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.
Configuration
Example .pre-commit-config.yaml
entry:
- repo: https://github.com/gimbo/blocktrans-trimmed-check.git
rev: master
hooks:
- id: blocktrans-trimmed-check