Make wrap to actually wrap, not just check. by JulienPalard · Pull Request #1765 · python/python-docs-fr · GitHub
Skip to content

Make wrap to actually wrap, not just check.#1765

Merged
JulienPalard merged 3 commits into
python:3.10from
JulienPalard:mdk-make-wrap
Nov 4, 2021
Merged

Make wrap to actually wrap, not just check.#1765
JulienPalard merged 3 commits into
python:3.10from
JulienPalard:mdk-make-wrap

Conversation

@JulienPalard

Copy link
Copy Markdown
Member

Comment thread Makefile
Comment thread Makefile

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai dit une bêtise. Il ne faut pas le faire avec -m car nous utilisons tous couramment powrap sur le résultat d'un commit fait sur GitHub, et powrap ne considère pas cela comme un changement dans le dépôt (contrairement à make spell qui regarde la différence avec BRANCH). Donc :

Suggested change
powrap -m
powrap --quiet *.po **/*.po

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je pense que la partie make checks / make wrap est plutôt dédiée aux nouveaux. Les anciens connaissent par coeur toutes les options de powrap et n'ont pas besoin du Makefile.

En passant je préfère powrap *.po */*.po à powrap **/*.po, le second risque de trouver des fichiers po dans le venv.

Si vraiment ça te manque, tu pourrais te rajouter make wrapall ?

Comment thread CONTRIBUTING.rst Outdated
@JulienPalard

Copy link
Copy Markdown
Member Author

J'ai raccourci le CONTRIBUTING, dans un souci de le garder lisible et digeste.

@PyDocTeur

Copy link
Copy Markdown

@JulienPalard JulienPalard merged commit ff88ce4 into python:3.10 Nov 4, 2021
@JulienPalard JulienPalard deleted the mdk-make-wrap branch November 4, 2021 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants