Skip to content

Commit a471456

Browse files
fix formatting for install_cuda.py
1 parent c17fb8e commit a471456

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

install_cuda.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ def main():
7777
download_path = "/tmp" # default download path
7878

7979
if len(sys.argv) < 2:
80-
print(
81-
"Usage: python install_cuda.py <version/all> [user/system] [download_path]"
82-
)
80+
print("Usage: python install_cuda.py <version/all> [user/system] [download_path]")
8381
sys.exit(1)
8482

8583
version = sys.argv[1]
@@ -100,9 +98,7 @@ def main():
10098
elif version in cuda_versions:
10199
install_cuda(version, base_path, download_path)
102100
else:
103-
print(
104-
f"Invalid CUDA version: {version}. Available versions are: {', '.join(cuda_versions.keys())}"
105-
)
101+
print(f"Invalid CUDA version: {version}. Available versions are: {', '.join(cuda_versions.keys())}")
106102
sys.exit(1)
107103

108104

0 commit comments

Comments
 (0)