Skip to content
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

Various possible improvements #292

Merged
merged 7 commits into from
Apr 16, 2024
Merged

Conversation

jrycw
Copy link
Contributor

@jrycw jrycw commented Apr 16, 2024

Hello team, I've identified some potential improvements while reviewing the codebase.

comment out the unused variables
delete the unused variable
simplify the Boolean comparison
* Using `if` sounds more pythonic from my perspective.
* `return` is redundant here.
fix black
I'll revert this commit because the logic is different from the original code.
@codecov-commenter
Copy link

codecov-commenter commented Apr 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.70%. Comparing base (479eb73) to head (a726781).
Report is 14 commits behind head on main.

Files Patch % Lines
great_tables/_utils.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #292      +/-   ##
==========================================
- Coverage   81.71%   81.70%   -0.01%     
==========================================
  Files          41       41              
  Lines        4325     4319       -6     
==========================================
- Hits         3534     3529       -5     
+ Misses        791      790       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@machow machow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the handy bits of cleanup!

@machow machow merged commit 14ce2c5 into posit-dev:main Apr 16, 2024
9 checks passed
@jrycw jrycw deleted the possible-improvements branch April 17, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants