Skip to content

Commit a8b1a55

Browse files
committed
Move mypy ignore flag to same line
1 parent a5c8e2a commit a8b1a55

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/io/common.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,7 @@ def get_handle(
405405
if is_path:
406406
f = gzip.open(path_or_buf, mode, **compression_args) # type: ignore
407407
else:
408-
f = gzip.GzipFile(
409-
fileobj=path_or_buf, **compression_args
410-
) # type: ignore
408+
f = gzip.GzipFile(fileobj=path_or_buf, **compression_args) # type: ignore
411409

412410
# BZ Compression
413411
elif compression == "bz2":

0 commit comments

Comments
 (0)