Skip to content

Commit

Permalink
lint: tighten mypy directive
Browse files Browse the repository at this point in the history
  • Loading branch information
toofar committed Mar 19, 2023
1 parent 92d4f69 commit d61dd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutebrowser/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class FakeIOStream(io.TextIOBase):

def __init__(self, write_func: Callable[[str], int]) -> None:
super().__init__()
self.write = write_func # type: ignore[assignment]
self.write = write_func # type: ignore[method-assign]


@contextlib.contextmanager
Expand Down

0 comments on commit d61dd65

Please sign in to comment.