Skip to content

Commit 7b65324

Browse files
committed
fix
1 parent 1d76793 commit 7b65324

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

neurodocker/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
from pathlib import Path
77

88
from neurodocker import reproenv # noqa: F401
9-
from neurodocker._version import get_versions
9+
from neurodocker._version import __version__
1010

11-
__version__ = get_versions()["version"]
12-
del get_versions
11+
__version__ = __version__
1312

1413
# Register neurodocker templates
1514
# TODO: remove registration from the `generate` cli. otherwise we register twice.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module = [
114114
[[tool.mypy.overrides]]
115115
ignore_errors = true
116116
module = [
117-
'neurodocker._version',
117+
"neurodocker._version",
118118
"neurodocker.reproenv.tests.*",
119119
'download_templates',
120120
'conf'

0 commit comments

Comments
 (0)