From 53a379c341199326abca498be20a65eda2a1a044 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 21 Jan 2024 16:40:12 -0800 Subject: [PATCH] pre-commit: only check translations on update (#31102) old-commit-hash: 74a2e3178fb16fe498a84147c14732e6fa3f7417 --- .pre-commit-config.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4bae3294ab..a3c13c77c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,6 +81,7 @@ repos: entry: selfdrive/ui/tests/test_translations.py language: script pass_filenames: false + files: 'selfdrive/ui/translations/*' - repo: https://github.com/python-poetry/poetry rev: '1.7.0' hooks: @@ -92,10 +93,3 @@ repos: rev: 0.27.3 hooks: - id: check-github-workflows -# - repo: local -# hooks: -# - id: format-fingerprints -# name: format-fingerprints -# entry: selfdrive/debug/format_fingerprints.py -# language: system -# types: [python]