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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make typing strict #1879

Merged
merged 6 commits into from
Jun 1, 2024
Merged

Make typing strict #1879

merged 6 commits into from
Jun 1, 2024

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented May 15, 2024

This enables strict mypy typing, fixing (almost) #1783 馃帀

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@dstansby dstansby marked this pull request as draft May 15, 2024 20:46
@jhamman jhamman added the V3 Related to compatibility with V3 spec label May 16, 2024
@jhamman jhamman added this to the 3.0.0.alpha milestone May 16, 2024
@jhamman jhamman added the types label May 17, 2024
@dstansby dstansby force-pushed the v3-strict-typing branch 2 times, most recently from 6bf7fa1 to 31f649d Compare May 24, 2024 09:23
@jhamman jhamman modified the milestones: 3.0.0.alpha, 3.0.0 May 31, 2024
@jhamman
Copy link
Member

jhamman commented May 31, 2024

@dstansby - let us know when this is ready for a review.

@dstansby dstansby marked this pull request as ready for review May 31, 2024 22:23
@dstansby
Copy link
Contributor Author

馃憤 should be good to review now

Copy link
Member

@jhamman jhamman left a comment

Choose a reason for hiding this comment

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

Thanks @dstansby!

@@ -18,6 +18,6 @@

def parse_indexing_order(data: Any) -> Literal["C", "F"]:
Copy link
Member

Choose a reason for hiding this comment

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

noting that this function also exists in zarr.common... No need to fix here but we don't need both.

@jhamman jhamman merged commit 016964b into zarr-developers:v3 Jun 1, 2024
18 checks passed
@dstansby dstansby deleted the v3-strict-typing branch June 1, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types V3 Related to compatibility with V3 spec
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants