-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Remove trailing whitespace from python.gram #133858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
An alternative is just to silence the downstream warnings, but I've pushed a commit here to ensure no future whitespace regressions if we do merge this one. A |
@AA-Turner Do you think there is a way to make gettext builder not extract such string? |
Can you elaborate? |
Some kind of flag that could be added to the reST file to make gettext builder understand that the text should not be extracted into a POT file. |
Excluding it entirely: #133868 |
FYI: rebased to main |
Thanks @rffontenelle for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commit 6df3976) Co-authored-by: Rafael Fontenelle <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Sorry, @rffontenelle and @hugovk, I could not cleanly backport this to
|
GH-133990 is a backport of this pull request to the 3.14 branch. |
Co-authored-by: Adam Turner <[email protected]> (cherry picked from commit 6df3976)
GH-133991 is a backport of this pull request to the 3.13 branch. |
Co-authored-by: Rafael Fontenelle <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Rafael Fontenelle <[email protected]> Co-authored-by: Adam Turner <[email protected]>
The intention is to solve "trailing whitespace" warning by sphinx-lint when running against translation files. That's related but not a duplicated of #133175.
Running sphinx-lint against this state of reference/grammar.po from pt_BR, these trailing whitespaces caused: