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

Type fixes #249

Merged
merged 8 commits into from
Jul 18, 2022
Merged

Type fixes #249

merged 8 commits into from
Jul 18, 2022

Conversation

duckontheweb
Copy link
Collaborator

@duckontheweb duckontheweb commented Jun 24, 2022

Related Issue(s):

None

Description:

  • Adds mypy type checking to the lint script and the pre-commit config
  • Run mypy against all Python files in repo (this helped catch some issues like the implicit re-exports that were not caught by running it just against the source code)
  • Fixes typing of Client._stac_io
  • Fixes implicit re-exports in top-level __init__.py (this also helps with autocomplete in some development tools like VSCode).

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

Copy link
Collaborator

@philvarner philvarner left a comment

Choose a reason for hiding this comment

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

🎉

@duckontheweb
Copy link
Collaborator Author

@matthewhanson @gadomski Any chance we could merge this? I'm working on a PR for #241 and it would be nice to start with this in main.

@gadomski gadomski merged commit 3e32b2a into main Jul 18, 2022
@gadomski gadomski deleted the fix/typing branch July 18, 2022 18:46
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.

None yet

3 participants