Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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 |
6df3976
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 commit6df3976)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 the3.14 branch. |
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>(cherry picked from commit6df3976)
GH-133991 is a backport of this pull request to the3.13 branch. |
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 againstthis state of reference/grammar.po from pt_BR, these trailing whitespaces caused: