Skip to content

Commit

Permalink
Remove unused type ignore in httpserver.py
Browse files Browse the repository at this point in the history
Annotations in iohttp got fixed in
aio-libs/aiohttp#7077, and we're now pulling
in a version with that fix.
  • Loading branch information
David Robertson committed Nov 24, 2023
1 parent 59d33a7 commit 2774651
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/matrix_content_scanner/httpserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,5 @@ def start(self) -> None:
app=self._app,
host=self._bind_address,
port=self._bind_port,
# We need to ignore mypy's error here because what we do here is correct
# according to aiohttp's documentation.
# See https://github.com/aio-libs/aiohttp/issues/7077
print=None, # type: ignore[arg-type]
print=None,
)

0 comments on commit 2774651

Please sign in to comment.