jsvine / pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
MIT License
6.31k stars 647 forks source link

Mypy compatibility #703

Closed jhonatan-lopes closed 2 years ago

jhonatan-lopes commented 2 years ago

Add py.typed to package data to ensure that it is included when building. Include zip_safe=False per mypy's instructions. See #698.

codecov[bot] commented 2 years ago

Codecov Report

Merging #703 (f6cecb6) into develop (446abb7) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop      #703   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines         1410      1410           
=========================================
  Hits          1410      1410           

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

jhonatan-lopes commented 2 years ago

@jsvine, could you please test this with your usual build process and check whether py.typed is now included in the source and built distributions?

jsvine commented 2 years ago

@jsvine, could you please test this with your usual build process and check whether py.typed is now included in the source and built distributions?

Yep, that fixed the issue! Many thanks, merging 👍