Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
__init__: no no-redef
Browse files Browse the repository at this point in the history
Co-authored-by: Illviljan <[email protected]>
marscher and Illviljan authored Oct 29, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5348287 commit 4d2cc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/__init__.py
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
from importlib.metadata import version as _version
except ImportError:
# if the fallback library is missing, we are doomed.
from importlib_metadata import version as _version # type: ignore[no-redef]
from importlib_metadata import version as _version

try:
__version__ = _version("xarray")

0 comments on commit 4d2cc88

Please sign in to comment.