Belval / pdf2image

A python module that wraps the pdftoppm utility to convert PDF to PIL Image object
MIT License
1.51k stars 187 forks source link

Add type annotations #242

Closed Belval closed 1 year ago

Belval commented 1 year ago

This PR adds type annotations to pdf2image, remove Python 3.6 support.

codecov-commenter commented 1 year ago

Codecov Report

Merging #242 (6abaada) into master (9d1adee) will increase coverage by 0.03%. The diff coverage is 100.00%.

:exclamation: Current head 6abaada differs from pull request most recent head ea69922. Consider uploading reports for the commit ea69922 to get more accurate results

@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
+ Coverage   96.05%   96.09%   +0.03%     
==========================================
  Files           5        5              
  Lines         304      307       +3     
==========================================
+ Hits          292      295       +3     
  Misses         12       12              
Impacted Files Coverage Δ
pdf2image/exceptions.py 100.00% <ø> (ø)
pdf2image/parsers.py 100.00% <100.00%> (ø)
pdf2image/pdf2image.py 95.33% <100.00%> (+0.03%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.