Skip to content

Commit

Permalink
Ignore type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Jan 14, 2024
1 parent 626ffba commit 4221518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xopen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def close(self) -> None:
def __iter__(self):
return self

def __next__(self) -> Union[str, bytes]:
def __next__(self) -> Union[str, bytes]: # type: ignore # incompatible with type in IOBase
return self._file.__next__()

def _wait_for_output_or_process_exit(self):
Expand Down Expand Up @@ -451,7 +451,7 @@ def read(self, *args) -> Union[str, bytes]:
def readinto(self, *args):
return self._file.readinto(*args)

def readline(self, *args) -> Union[str, bytes]:
def readline(self, *args) -> Union[str, bytes]: # type: ignore # incompatible w/type in IOBase
return self._file.readline(*args)

def seekable(self) -> bool:
Expand Down

0 comments on commit 4221518

Please sign in to comment.