aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-13 14:13:53 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-13 14:14:26 +0100
commit1af4a0b82659288773314906c2de20bd3656f876 (patch)
tree5b68fa023931051bb871d8a0237e44a1f9d496cc /.pre-commit-config.yaml
parentd267913e206f5f7bfc16607c0dc058290e6b556f (diff)
downloadFirmament-1af4a0b82659288773314906c2de20bd3656f876.tar.gz
Firmament-1af4a0b82659288773314906c2de20bd3656f876.tar.bz2
Firmament-1af4a0b82659288773314906c2de20bd3656f876.zip
meta: Add translation ordering pre commit check
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6d0e52d..775137d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,14 @@
# SPDX-License-Identifier: CC0-1.0
repos:
- - repo: https://github.com/fsfe/reuse-tool
- rev: v3.1.0a1
- hooks:
- - id: reuse
+ - repo: https://github.com/fsfe/reuse-tool
+ rev: v3.1.0a1
+ hooks:
+ - id: reuse
+ - repo: local
+ hooks:
+ - id: ordered_translations
+ name: "Check translation ordering"
+ language: script
+ files: translations/.*
+ entry: ./check-translation-ordering.sh