Skip to content

Commit 700e816

Browse files
Fix version.py: restore __version_info__ and get_version_info exports
1 parent f50210d commit 700e816

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/version.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
"""Version information for HEDit."""
22

33
__version__ = "0.6.7a1"
4+
__version_info__ = (0, 6, 7, "alpha")
45

56

67
def get_version() -> str:
7-
"""Return the current version string."""
8+
"""Get the current version string."""
89
return __version__
10+
11+
12+
def get_version_info() -> tuple:
13+
"""Get the version info tuple (major, minor, patch, prerelease)."""
14+
return __version_info__

0 commit comments

Comments
 (0)