python-docs-fr/.woodpecker.yml

11 lines
449 B
YAML
Raw Normal View History

2022-12-07 22:04:50 +00:00
---
pipeline:
test:
image: python
commands:
- python3 -m pip install -r requirements.txt
- sphinx-lint --enable all --disable line-too-long *.po */*.po
- pospell -p dict -l fr_FR *.po */*.po
- awk '{if (length(gensub(/శ్రీనివాస్/, ".", "g", $$0)) > 80 && length(gensub(/[^ ]/, "", "g")) > 1) {print FILENAME ":" FNR, "line too long:", $$0; ERRORS+=1}} END {if (ERRORS>0) {exit 1}}' *.po */*.po