mediacloud / metadata-lib

How Media Cloud approaches extracting metadata from online news stories
Apache License 2.0
12 stars 5 forks source link

mcmetadata not type checked by mypy #52

Closed philbudne closed 1 year ago

philbudne commented 1 year ago

mypy doesn't see typing info for mcmetadata. Adding mcmetadata/py.typed seems to cure this It's mentioned in https://peps.python.org/pep-0561/ but I don't know the right/best way to effect this, or how this might effect other users of the library!

rahulbot commented 1 year ago

@pgulley do you have time to look into this? (and maybe do any requirements updates at the same time)

pgulley commented 1 year ago

Added mcmetadata/py.typed and released 0.9.3 to pypi with this change!