-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MAINT: position ➔ page_number in Merger.merge #1482
MAINT: position ➔ page_number in Merger.merge #1482
Conversation
Thank you for the pr 🙏 I recommend to use pre-commit as it fixes some style issues:
|
I'll merge #1467 before this one |
I thought the tests were running fine locally. Do you have an idea why the check is failing by chance? |
Codecov ReportBase: 94.12% // Head: 94.14% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1482 +/- ##
==========================================
+ Coverage 94.12% 94.14% +0.01%
==========================================
Files 30 30
Lines 5447 5445 -2
Branches 1039 1038 -1
==========================================
- Hits 5127 5126 -1
Misses 191 191
+ Partials 129 128 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I changed the order back, it should be fine now. Although the workaround is a bit cheap, it is the only way I can think of. 😅 |
Thank you @Infus3d ! edit: I've just fixed the merge conflicts. |
Documentation (DOC) - Deduplicate extract_text docstring (#1485) - How to cite PyPDF2 (#1476) Maintenance (MAINT) Consistency changes: - indirect_ref/ido ➔ indirect_reference, dest➔ page_destination (#1467) - owner_pwd/user_pwd ➔ owner_password/user_password (#1483) - position ➜ page_number in Merger.merge (#1482) - indirect_ref ➜ indirect_reference (#1484) [Full Changelog](2.12.0...2.12.1)
Changed method parameter name for consistency as mentioned in #1187
position
➔page_number
inPdfMerger.merge
Improved the deprecation message of:
dest
➔page_destination
inPdfWriter.add_outline_item_destination
andPdfWriter.add_named_destination_object
user_pwd
➔user_password
andowner_pwd
➔owner_password
inPdfWriter.encrypt