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_numberinPdfMerger.mergeImproved the deprecation message of:
dest➔page_destinationinPdfWriter.add_outline_item_destinationandPdfWriter.add_named_destination_objectuser_pwd➔user_passwordandowner_pwd➔owner_passwordinPdfWriter.encrypt