diff --git a/dvc/info.py b/dvc/info.py index ec6cd26d3..4ee44c9f0 100644 --- a/dvc/info.py +++ b/dvc/info.py @@ -32,6 +32,7 @@ def get_dvc_info(): f"Platform: Python {platform.python_version()} on {platform.platform()}", f"Subprojects:{_get_subprojects()}", f"Supports:{_get_supported_remotes()}", + f"Config:{_get_config_dirs()}", ] try: @@ -136,6 +137,17 @@ def _get_supported_remotes(): return "\n\t" + ",\n\t".join(supported_remotes) +def _get_config_dirs(): + from dvc.config import Config + + dirs = [ + f"Global: {Config.get_dir('global')}", + f"System: {Config.get_dir('system')}", + ] + + return "\n\t" + "\n\t".join(dirs) + + def _get_fs_type(path): partition = {} for part in psutil.disk_partitions(all=True):