Skip to content

Commit

Permalink
Remove flake8 in-line ignores.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Krupinski committed Oct 29, 2024
1 parent ba21951 commit 2190328
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions taskiq_nats/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NatsBroker(AsyncBroker):
https://docs.nats.io/nats-concepts/core-nats/queue
"""

def __init__( # (too many args)
def __init__(
self,
servers: typing.Union[str, typing.List[str]],
subject: str = "taskiq_tasks",
Expand Down Expand Up @@ -88,7 +88,7 @@ async def shutdown(self) -> None:
await super().shutdown()


class BaseJetStreamBroker( # (too many attrs)
class BaseJetStreamBroker(
AsyncBroker,
ABC,
typing.Generic[JetStreamConsumerType],
Expand All @@ -105,7 +105,7 @@ class BaseJetStreamBroker( # (too many attrs)
be sure that messages are delivered to the workers.
"""

def __init__( # (too many args)
def __init__(
self,
servers: typing.Union[str, typing.List[str]],
subject: str = "taskiq_tasks",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jetstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def test_push_based_broker_success( # (too many await)


@pytest.mark.anyio()
async def test_pull_based_broker_success( # (too many await)
async def test_pull_based_broker_success(
nats_urls: List[str],
nats_subject: str,
) -> None:
Expand Down

0 comments on commit 2190328

Please sign in to comment.