Skip to content

Commit c88017b

Browse files
Fix comment for reasoning to use of str
1 parent d71361d commit c88017b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rapids_cli/debug/debug.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ def run_debug(output_format="console"):
8585
),
8686
"python_version_full": sys.version,
8787
"python_version": f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}",
88-
"python_hash_info": str(
89-
sys.hash_info
90-
), # cast to str as repr is most useful https://github.com/rapidsai/rapids-cli/pull/127#discussion_r2397926022
88+
# cast sys.hash_info to str as repr is most useful https://github.com/rapidsai/rapids-cli/pull/127#discussion_r2397926022
89+
"python_hash_info": str(sys.hash_info),
9190
"package_versions": gather_package_versions(),
9291
"pip_packages": gather_command_output(["pip", "freeze"], "Pip not installed"),
9392
"conda_packages": gather_command_output(

0 commit comments

Comments
 (0)