Skip to content

Commit 7670262

Browse files
ShaharNavehdatapythonista
authored andcommitted
STY: Concat string (#30579)
1 parent f8a0989 commit 7670262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _load_obj(name):
286286
continue
287287

288288
if "obj" not in locals():
289-
raise ImportError("No module can be imported " 'from "{}"'.format(name))
289+
raise ImportError(f'No module can be imported from "{name}"')
290290

291291
for part in func_parts:
292292
obj = getattr(obj, part)

0 commit comments

Comments
 (0)