Skip to content

Commit e890875

Browse files
committed
fix flake8 lint
1 parent 281be46 commit e890875

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pylops_mpi/utils/deps.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
]
44

55
import os
6-
from importlib import import_module, util
6+
from importlib import util
77
from typing import Optional
88

99

@@ -23,10 +23,10 @@ def nccl_import(message: Optional[str] = None) -> str:
2323
else:
2424
# if unable to import but the package is installed
2525
nccl_message = (
26-
f"cupy is installed but cupy.cuda.nccl not available, Falling back to pure MPI."
27-
"Please ensure your CUDA NCCL environment is set up correctly "
28-
"for more details visit 'https://docs.cupy.dev/en/stable/install.html'"
29-
)
26+
"cupy is installed but cupy.cuda.nccl not available, Falling back to pure MPI."
27+
"Please ensure your CUDA NCCL environment is set up correctly "
28+
"for more details visit 'https://docs.cupy.dev/en/stable/install.html'"
29+
)
3030
print(UserWarning(nccl_message))
3131
else:
3232
nccl_message = (

0 commit comments

Comments
 (0)