Closed jamesdow21 closed 4 months ago
Hi @jamesdow21 , thank you for taking the time to open this PR and for your patience. I am going to pull your changes in locally and perform some testing on my end. Once that completes, barring any issue, I anticipate we can get this PR merged.
Description
Adding a blank "py.typed" marker file will allow mypy to recognize that type annotations are provided inline.
Motivation and Context
Currently, mypy is not able to analyze any usage of this library and gives the following error
Fixes #223
Testing
Ran build.sh and verified that the py.typed file ends up in the sdist and wheel
No code has been changed, so I didn't add any unit tests There were 3 unit tests that failed for me locally; however, that was also the case on master before making any changes.
Screenshots (if appropriate)
Types of changes
Checklist
./build.sh
succeedspytest test/unit
and they are passing.