mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 07:18:28 +01:00
version/info: match dashes' length below DVC version (#8921)
This commit is contained in:
+4
-3
@@ -22,13 +22,14 @@ SUBPROJECTS = (
|
||||
"dvclive",
|
||||
"scmrepo",
|
||||
)
|
||||
package = "" if PKG is None else f"({PKG})"
|
||||
package = "" if PKG is None else f" ({PKG})"
|
||||
|
||||
|
||||
def get_dvc_info():
|
||||
dvc_version = f"DVC version: {__version__}{package}"
|
||||
info = [
|
||||
f"DVC version: {__version__} {package}",
|
||||
"---------------------------------",
|
||||
dvc_version,
|
||||
"-" * len(dvc_version),
|
||||
f"Platform: Python {platform.python_version()} on "
|
||||
f"{platform.platform()}",
|
||||
f"Subprojects:{_get_subprojects()}",
|
||||
|
||||
Reference in New Issue
Block a user