Skip to content

Commit 66200bf

Browse files
author
Marco Gorelli
committed
Keep error string on one line so that black autoformatter has nothing to do
1 parent 85b9127 commit 66200bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/common.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ def _validate_header_arg(header) -> None:
128128
if header == -1: # In versions prior to 0.25, this
129129
# would have worked.
130130
raise ValueError(
131-
"Passing -1 to header is invalid. "
132-
"For no header, use header=None instead"
131+
"Passing -1 to header is invalid. For no header, use header=None instead"
133132
)
134133

135134

0 commit comments

Comments
 (0)