-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Substituting plain headed box when show_header=False on Table #2330
Conversation
@@ -14,7 +14,6 @@ repos: | |||
- id: check-yaml | |||
- id: end-of-file-fixer | |||
- id: mixed-line-ending | |||
- id: trailing-whitespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This incorrectly removed some whitespace inside a multiline string (inside a Box
), which led to errors.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2330 +/- ##
==========================================
- Coverage 98.88% 98.76% -0.13%
==========================================
Files 73 73
Lines 7629 7690 +61
==========================================
+ Hits 7544 7595 +51
- Misses 85 95 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable solution. A small request and feel free to merge.
Type of changes
Checklist
Description
Ensure that if the user passes
show_header=False
toTable
, then we don't use aBox
which assumes the first row is a header row.(Note the examples below aren't of the exact same table, only the first row of the box is relevant anyway)
After
The first line is smooth because
show_header=False
, so the box used was updated to one that doesn't use different header edges.Before
The first line uses thicker lines, because the HEAVY_HEAD box is used by default, even though there's no header.
Fixes #2312