to-mc / checksumdir

Simple package to compute a single deterministic hash of the file contents of a directory.
MIT License
94 stars 28 forks source link

Add type annotations #9

Closed idahogray closed 5 years ago

idahogray commented 5 years ago

Added typing information to a stub file so it is compatible with Python 2 and 3; Fixes #7

idahogray commented 5 years ago

I have run this through mypy with --strict and don't get any errors. I have also checked this by running mypy on a project that uses checksumdir as a dependency.