pre-commit: only check translations on update (#31102)

pull/31103/head
Adeeb Shihadeh 1 year ago committed by GitHub
parent b1f457bdc8
commit 74a2e3178f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      .pre-commit-config.yaml

@ -81,6 +81,7 @@ repos:
entry: selfdrive/ui/tests/test_translations.py entry: selfdrive/ui/tests/test_translations.py
language: script language: script
pass_filenames: false pass_filenames: false
files: 'selfdrive/ui/translations/*'
- repo: https://github.com/python-poetry/poetry - repo: https://github.com/python-poetry/poetry
rev: '1.7.0' rev: '1.7.0'
hooks: hooks:
@ -92,10 +93,3 @@ repos:
rev: 0.27.3 rev: 0.27.3
hooks: hooks:
- id: check-github-workflows - id: check-github-workflows
# - repo: local
# hooks:
# - id: format-fingerprints
# name: format-fingerprints
# entry: selfdrive/debug/format_fingerprints.py
# language: system
# types: [python]

Loading…
Cancel
Save