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

BUG: Warn when visitor* arguments are ignored #2845

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

kaos-ocs
Copy link
Contributor

visitor* function arguments are silently ignored when extraction_mode="layout". Document this a bit better and add a warning when these arguments are ignored.

Closes #2840

visitor* function arguments are silently ignored when
extraction_mode="layout".  Document this a bit better and add a warning
when these arguments are ignored.

Closes py-pdf#2840
Copy link

codecov bot commented Sep 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.94%. Comparing base (98d4425) to head (eff563b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2845      +/-   ##
==========================================
+ Coverage   95.91%   95.94%   +0.03%     
==========================================
  Files          51       51              
  Lines        8735     8761      +26     
  Branches     1744     1750       +6     
==========================================
+ Hits         8378     8406      +28     
+ Misses        210      209       -1     
+ Partials      147      146       -1     

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

Copy link
Collaborator

@stefan6419846 stefan6419846 left a comment

Choose a reason for hiding this comment

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

Thanks.

@stefan6419846 stefan6419846 merged commit 78baa8f into py-pdf:main Sep 14, 2024
16 checks passed
@pubpub-zz pubpub-zz mentioned this pull request Sep 15, 2024
@kaos-ocs kaos-ocs deleted the issue2840 branch September 17, 2024 00:25
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.

extract_text() with extraction_mode="layout" ignores visitor* arguments
2 participants