Browse Source

🔧 Add pre-commit to fix language translations

pull/14683/head
Sebastián Ramírez 6 months ago
parent
commit
4100149949
  1. 6
      .pre-commit-config.yaml

6
.pre-commit-config.yaml

@ -58,3 +58,9 @@ repos:
entry: uv run ./scripts/docs.py ensure-non-translated entry: uv run ./scripts/docs.py ensure-non-translated
files: ^docs/(?!en/).*|^scripts/docs\.py$ files: ^docs/(?!en/).*|^scripts/docs\.py$
pass_filenames: false pass_filenames: false
- id: fix-translations
language: unsupported
name: fix translations
entry: uv run ./scripts/translation_fixer.py fix-pages
files: ^docs/(?!en/).*/docs/.*\.md$

Loading…
Cancel
Save