Add padpo to travis-ci. (#1059)

This commit is contained in:
Julien Palard 2019-12-12 13:38:53 +01:00 committed by GitHub
parent 5d713a33e9
commit f1679d9e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9522 additions and 2 deletions

View File

@ -5,9 +5,10 @@ before_install:
- sudo apt-get update
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
install:
- pip install pospell "powrap>=0.3.0"
- pip install poutils
- pospell --version
- powrap --version
- padpo --version
script:
- 'printf "%s\n" "$TRAVIS_COMMIT_RANGE"'
- 'CHANGED_FILES="$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep "\.po$")" ;:'
@ -16,3 +17,4 @@ script:
- 'if [ -n "$CHANGED_FILES" ]; then powrap --check --quiet $CHANGED_FILES; fi'
- 'if [ -n "$CHANGED_FILES" ]; then pospell -p dict -l fr_FR $CHANGED_FILES; fi'
- 'if [ -n "$CHANGED_FILES" ]; then make CPYTHON_CLONE=/tmp/cpython/; fi'
- 'if [ -n "$CHANGED_FILES" ]; then padpo -i "$CHANGED_FILES" 2>&1 | grep -v -Ff padpo.ignore || true; fi'

9515
padpo.ignore Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"PO-Revision-Date: 2019-11-05 15:00+0100\n"
"PO-Revision-Date: 2019-12-12 12:14+0100\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
@ -2151,6 +2151,9 @@ msgid ""
"comparisons for singletons should always be done with ``is`` or ``is not``, "
"never the equality operators."
msgstr ""
"``None`` et ``NotImplemented`` sont des singletons. :PEP:`8` conseille de "
"toujours comparer les singletons en utilisant soit ``is`` soit ``is not``, "
"jamais les autres opérateurs."
#: ../Doc/reference/expressions.rst:1431
msgid ""