Browse Source

GHA CI: exclude checking for GUI i18n files

And bump hooks version along the way.
PR #16484.
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
c627ed4b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .pre-commit-config.yaml

6
.pre-commit-config.yaml

@ -5,11 +5,15 @@ repos:
name: Check newline characters in <translation> tag name: Check newline characters in <translation> tag
entry: .github/workflows/check_translation_tag.py entry: .github/workflows/check_translation_tag.py
language: script language: script
exclude: |
(?x)^(
src/lang/.*
)$
types_or: types_or:
- ts - ts
- repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.0.1 rev: v4.1.0
hooks: hooks:
- id: check-json - id: check-json
name: Check JSON files name: Check JSON files

Loading…
Cancel
Save