From 40a0d2ffb7da9a6a30b2e6270ec22045b8730d6d Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Tue, 15 Sep 2026 19:44:10 +0300 Subject: [PATCH] chore(lint): drop ty ignore comments made redundant by ty 0.0.81 ty 0.0.81 no longer reports unknown-argument on the TimersBroker and TimersRouter super().__init__ calls, so the two suppressions now fail `ty check` with unused-ignore-comment. uv.lock is gitignored and the install recipe runs `uv lock --upgrade`, so CI always picks up the newest ty. --- faststream_redis_timers/broker.py | 2 +- faststream_redis_timers/router.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/faststream_redis_timers/broker.py b/faststream_redis_timers/broker.py index 86cd73b..e6cc224 100644 --- a/faststream_redis_timers/broker.py +++ b/faststream_redis_timers/broker.py @@ -146,7 +146,7 @@ def __init__( # noqa: PLR0913 tags=tags, security=None, ) - super().__init__(config=broker_config, specification=specification, routers=routers) # ty: ignore[unknown-argument] + super().__init__(config=broker_config, specification=specification, routers=routers) @override async def _connect(self) -> "RedisClient": diff --git a/faststream_redis_timers/router.py b/faststream_redis_timers/router.py index 86c1784..d514219 100644 --- a/faststream_redis_timers/router.py +++ b/faststream_redis_timers/router.py @@ -93,6 +93,6 @@ def __init__( # noqa: PLR0913 include_in_schema=include_in_schema, prefix=prefix, ), - handlers=handlers, # ty: ignore[unknown-argument] + handlers=handlers, routers=routers, )