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

STY: Slight refactor of remove_images #2979

Merged
merged 4 commits into from
Dec 3, 2024
Merged

Conversation

j-t-1
Copy link
Contributor

@j-t-1 j-t-1 commented Dec 2, 2024

Increase readability.

j-t-1 added 2 commits December 2, 2024 22:08
Remove duplication for easier readability.
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.36%. Comparing base (fa1838c) to head (966ba1c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2979   +/-   ##
=======================================
  Coverage   96.36%   96.36%           
=======================================
  Files          52       52           
  Lines        8749     8752    +3     
  Branches     1591     1593    +2     
=======================================
+ Hits         8431     8434    +3     
  Misses        190      190           
  Partials      128      128           

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

@stefan6419846
Copy link
Collaborator

Couldn't this be a simple loop as well which loops over the three bit masks?

@stefan6419846 stefan6419846 merged commit 273732b into py-pdf:main Dec 3, 2024
16 checks passed
@j-t-1 j-t-1 deleted the remove_images branch December 3, 2024 11:51
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.

2 participants