Skip to content

Commit 2190328

Browse files
author
Raphael Krupinski
committed
Remove flake8 in-line ignores.
1 parent ba21951 commit 2190328

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

taskiq_nats/broker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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",

tests/test_jetstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)