Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#116] initial implementation of type hints #117

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

pkdash
Copy link
Contributor

@pkdash pkdash commented Nov 3, 2023

This is an initial implementation of adding type hints that includes type hints just for one function of nwis module. If this looks good, I can implement the same for the rest of the functions of the nwis module.

Copy link
Collaborator

@thodson-usgs thodson-usgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent @pkdash!
I noticed the 3.8 tests were failing. I suspect tuple is only supported for 3.9+.
Please make this change and all tests should pass.

dataretrieval/nwis.py Outdated Show resolved Hide resolved
dataretrieval/nwis.py Outdated Show resolved Hide resolved
Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
@thodson-usgs thodson-usgs marked this pull request as ready for review November 7, 2023 21:39
@thodson-usgs thodson-usgs merged commit 4d6bfdd into DOI-USGS:master Nov 7, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants