pooch
pooch copied to clipboard
Add mypy to CI job and type hints for one class.
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
💖 Thank you for opening your first pull request in this repository! 💖
A few things to keep in mind:
- Authorship Guidelines: Our rules for giving you credit for your contributions, including authorship on publications and Zenodo archives.
- Code of Conduct: How we expect people to interact in our projects.
⭐ No matter what, we are really grateful that you put in the effort to do this! ⭐