diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-01-07 14:41:11 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-01-07 14:42:12 -0600 |
| commit | 1dda33dc418cae1a0047df0241762ebdb3d87e8a (patch) | |
| tree | 43ba1a0a3e518dd5ab6f097fd73d65ff2243b001 | |
| parent | e79ee785ac45abc1ee53d9cdbfd30f2290ee7bd9 (diff) | |
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.
| -rw-r--r-- | .pre-commit-config.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 322f37da4..82d89eaa3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 |
