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

Fix new ruff/flake8-type-checking TCH003 error #2154

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Sep 6, 2024

TCH003 Move standard library import into a type-checking block

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)

TCH003 Move standard library import into a type-checking block
@TomAugspurger
Copy link
Contributor

I'm not sure why this wasn't caught in CI on #2150, but thanks for fixing it.

@jhamman jhamman merged commit 59b118d into zarr-developers:v3 Sep 6, 2024
26 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the TCH003 branch September 6, 2024 19:28
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.

3 participants