pooch icon indicating copy to clipboard operation
pooch copied to clipboard

Add mypy to CI job and type hints for one class.

Open eliotwrobson opened this issue 11 months ago • 1 comments

Changes to test type hints and integrating a typechecker into the CI job. This was to test feasibility of adding type annotations to the package (per the issue). This was surprisingly easy to do, I basically just copied the types listed in the docstring.

Relevant issues/PRs:

https://github.com/fatiando/pooch/issues/330

eliotwrobson avatar Mar 11 '24 02:03 eliotwrobson

💖 Thank you for opening your first pull request in this repository! 💖

A few things to keep in mind:

No matter what, we are really grateful that you put in the effort to do this!

welcome[bot] avatar Mar 11 '24 02:03 welcome[bot]