From fd09470688130703ee70b54757e881b3be2d9d22 Mon Sep 17 00:00:00 2001 From: CoolCat467 <52022020+CoolCat467@users.noreply.github.com> Date: Mon, 13 Jan 2025 23:00:44 -0600 Subject: [PATCH] Remove redundant command line flags --- Makefile | 2 +- trio_websocket/_impl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f97c321..346a4c9 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ lint: $(PYTHON) -m pylint trio_websocket/ tests/ autobahn/ examples/ typecheck: - $(PYTHON) -m mypy --explicit-package-bases trio_websocket tests autobahn examples + $(PYTHON) -m mypy publish: rm -fr build dist .egg trio_websocket.egg-info diff --git a/trio_websocket/_impl.py b/trio_websocket/_impl.py index a38a31b..202cb8a 100644 --- a/trio_websocket/_impl.py +++ b/trio_websocket/_impl.py @@ -1693,7 +1693,7 @@ def listeners(self) -> list[Endpoint | str]: listeners.append(repr(listener)) return listeners - async def run( # type: ignore[misc] + async def run( self, *, task_status: trio.TaskStatus[WebSocketServer] = trio.TASK_STATUS_IGNORED,