Skip to content

Commit 81f9bd5

Browse files
committed
Move mypy ignore flag to same line
1 parent b23b7cc commit 81f9bd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/io/common.py

Lines changed: 1 addition & 3 deletions
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)