๐Ÿ“ฆ gimbo / blocktrans-trimmed-check

pre-commit hook: ensure multi-line blocktrans blocks in Django templates are trimmed

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/gimbo/blocktrans-trimmed-check.git
HTTPS git clone https://github.com/gimbo/blocktrans-trimmed-check.git
SSH git clone git@github.com:gimbo/blocktrans-trimmed-check.git
CLI gh repo clone gimbo/blocktrans-trimmed-check
Andy Gimblett Andy Gimblett Add ci.appveyor.com build status to README 3382ef0 7 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ testing
๐Ÿ“ tests
๐Ÿ“„ .coveragerc
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ appveyor.yml
๐Ÿ“„ LICENSE.txt
๐Ÿ“„ README.md
๐Ÿ“„ setup.cfg
๐Ÿ“„ setup.py
๐Ÿ“„ tox.ini
๐Ÿ“„ README.md

Build Status Coverage Status Windows Build status

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