File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class NatsBroker(AsyncBroker):
3535 https://docs.nats.io/nats-concepts/core-nats/queue
3636 """
3737
38- def __init__ ( # (too many args)
38+ def __init__ (
3939 self ,
4040 servers : typing .Union [str , typing .List [str ]],
4141 subject : str = "taskiq_tasks" ,
@@ -88,7 +88,7 @@ async def shutdown(self) -> None:
8888 await super ().shutdown ()
8989
9090
91- class BaseJetStreamBroker ( # (too many attrs)
91+ class BaseJetStreamBroker (
9292 AsyncBroker ,
9393 ABC ,
9494 typing .Generic [JetStreamConsumerType ],
@@ -105,7 +105,7 @@ class BaseJetStreamBroker( # (too many attrs)
105105 be sure that messages are delivered to the workers.
106106 """
107107
108- def __init__ ( # (too many args)
108+ def __init__ (
109109 self ,
110110 servers : typing .Union [str , typing .List [str ]],
111111 subject : str = "taskiq_tasks" ,
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ async def test_push_based_broker_success( # (too many await)
5353
5454
5555@pytest .mark .anyio ()
56- async def test_pull_based_broker_success ( # (too many await)
56+ async def test_pull_based_broker_success (
5757 nats_urls : List [str ],
5858 nats_subject : str ,
5959) -> None :
You can’t perform that action at this time.
0 commit comments