Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Sep 6, 2024
1 parent c66aacb commit 396be81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nwbinspector/version/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import importlib.metadata

import warnings

message = (
Expand All @@ -9,4 +11,4 @@

# Still keep imports functional with warning for soft deprecation cycle
# TODO: remove after 9/15/2024
from .._version import __version__
__version__ = importlib.metadata.version(distribution_name="nwbinspector")

0 comments on commit 396be81

Please sign in to comment.