Skip to content

Commit

Permalink
add pre-commit check to verify translation files are up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Jan 12, 2024
1 parent 8127edd commit 04d27e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
hooks:
- id: isort

- repo: local
hooks:
- id: check_i18n
name: Check that i18n files have been updated
pass_filenames: false
language: system
entry: pipenv run ./manage.py makemessages --all

0 comments on commit 04d27e2

Please sign in to comment.