Open devdanzin opened 9 months ago
Attention: Patch coverage is 76.47059%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 95.39%. Comparing base (
2590691
) to head (987f1b3
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Sometimes tabulate will create broken wrapping tables by wrapping in the middle of ANSI escape codes. A fix has been proposed at the tabulate repository, but the project seems to be dormant at the moment.
This PR uses the code from the fix to monkeypatch
tabulate._CustomTextWrap._handle_long_word
inreport()
anddiff()
, so we don't have the bug. A test is included.Before patch:
After patch: