Open tomasr8 opened 3 months ago
Interesting, calling super() inside a list comprehension does not work on python 3.9..
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.29%. Comparing base (
0005c85
) to head (89602b4
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tomasr8 Can you rebase now that #1105 was merged? Thanks!
@tomasr8 Can you rebase now that #1105 was merged? Thanks!
Done ;)
Rebased and fixed the tests caused by missing break_long_words=False
in TextWrapper
Closes #1078
Depends on #1105 (To see only the changes in this PR, look at the last two commits)Since #1105 wraps file names containing white space in special unicode markers, we look out for them when wrapping comments.
The fix overrides the
_split
method ofTextWrapper
where we manually generate the indivisible chunks, taking into account enclosed file names.I test the the wrapping behavior with gettext 0.22.5 (which includes the enclosing logic) to make sure it's consistent