pre-commit: Add checking of 'make translate' status
.. when this check completes with an error, circuitpython.pot has been updated and the changes can be staged.
This commit is contained in:
parent
e79ee785ac
commit
1dda33dc41
@ -11,3 +11,10 @@ repos:
|
||||
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/esp32s2/esp-idf-config/.*|ports/esp32s2/boards/.*/sdkconfig)'
|
||||
- id: trailing-whitespace
|
||||
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*)'
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: translations
|
||||
name: Check Translations
|
||||
entry: sh -c "make translate"
|
||||
language: system
|
||||
always_run: true
|
||||
|
Loading…
Reference in New Issue
Block a user