10000 pre-commit: Add checking of 'make translate' status · jepler/circuitpython@1dda33d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dda33d

Browse files
committed
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.
1 parent e79ee78 commit 1dda33d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ repos:
1111
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/esp32s2/esp-idf-config/.*|ports/esp32s2/boards/.*/sdkconfig)'
1212
- id: trailing-whitespace
1313
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*)'
14+
- repo: local
15+
hooks:
16+
- id: translations
17+
name: Check Translations
18+
entry: sh -c "make translate"
19+
language: system
20+
always_run: true

0 commit comments

Comments
 (0)
0