Skip to content

Commit 1ace508

Browse files
committed
Update version.py
1 parent 935691a commit 1ace508

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

rmcp/version.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def get_version() -> str:
1212
"""
1313
Get the version of the RMCP package.
14-
14+
1515
Returns:
1616
str: The version string of the installed package, or a fallback
1717
version if the package is not installed (development mode).
@@ -21,11 +21,12 @@ def get_version() -> str:
2121
except PackageNotFoundError:
2222
# Package is not installed - fallback for development
2323
return "0.0.0+unknown"
24+
2425
except ImportError:
2526
# Should not happen with Python >=3.10, but keeping as safety
2627
def get_version() -> str:
2728
"""Fallback version function for older Python versions."""
2829
return "0.0.0+unknown"
2930

3031

31-
__all__ = ["get_version"]
32+
__all__ = ["get_version"]

0 commit comments

Comments
 (0)