Skip to content

Commit

Permalink
__init__: no no-redef
Browse files Browse the repository at this point in the history
Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>
  • Loading branch information
marscher and Illviljan authored Oct 29, 2021
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
Expand Up @@ -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")
Expand Down

0 comments on commit 4d2cc88

Please sign in to comment.