Skip to content

Commit

Permalink
[ENH] show versions option to print (#2327)
Browse files Browse the repository at this point in the history
* show versions

* show versions
  • Loading branch information
TonyBagnall authored Nov 9, 2024
1 parent 5088e4e commit b90cb5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aeon/utils/show_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@ def show_versions(as_str: bool = False) -> Union[str, None]:
deps_info[modname] = None
str = f"{str}\nPython dependencies:"
for k, stat in deps_info.items():
str = f"{str}\n{k:>13}: {stat}" # noqa: T001, T201
return str
str = f"{str}\n{k:>13}: {stat}"
if as_str:
return str
print(str) # noqa: T201

0 comments on commit b90cb5d

Please sign in to comment.