Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Add a function to access to the version when it's not in release.
  • Loading branch information
lionelkusch authored Dec 12, 2024
1 parent 33ede40 commit ffa5138
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hidimstat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
from .loco import LOCO
from .permutation_importance import PermutationImportance

try:
from ._version import __version__
except ImportError:
__version__ = "0+unknown"

Check warning on line 21 in hidimstat/__init__.py

View check run for this annotation

Codecov / codecov/patch

hidimstat/__init__.py#L20-L21

Added lines #L20 - L21 were not covered by tests

__all__ = [
"ada_svr",
"aggregate_quantiles",
Expand Down

0 comments on commit ffa5138

Please sign in to comment.