Remove trailing whitespace from python.gram#133858
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 <rffontenelle@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
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 <9087854+aa-turner@users.noreply.github.com> (cherry picked from commit 6df3976)
|
GH-133991 is a backport of this pull request to the 3.13 branch. |
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
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: