py-pdf / pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
https://pypdf.readthedocs.io/en/latest/
Other
7.73k stars 1.36k forks source link

STY: Consistency of spaces after period #2717

Closed j-t-1 closed 2 weeks ago

j-t-1 commented 2 weeks ago

Remove two spaces after a period so everywhere one space is used. Also, in _writer.py initialize PA.KIDS before PA.COUNT to match PDF specification table order.

stefan6419846 commented 2 weeks ago

Your changes seem to have some side-effects which have to be resolved before merging.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.14%. Comparing base (988714f) to head (f6d92ee).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2717 +/- ## ======================================= Coverage 95.14% 95.14% ======================================= Files 51 51 Lines 8547 8547 Branches 1703 1703 ======================================= Hits 8132 8132 Misses 261 261 Partials 154 154 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.