Skip to content

Commit

Permalink
reformat noqa
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Sjögren <[email protected]>
  • Loading branch information
konstruktoid committed Aug 2, 2023
1 parent 0f1a4f6 commit b738d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/eda/plugins/event_source/journald.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from systemd import journal


async def main(queue: asyncio.Queue, args: dict[str, Any]) -> str: # noqa=D417
async def main(queue: asyncio.Queue, args: dict[str, Any]) -> str: # noqa: D417
"""Read journal entries and add them to the provided queue.
Args:
Expand Down Expand Up @@ -77,6 +77,6 @@ class MockQueue:

async def put(self: str, event: str) -> str:
"""Add the event to the queue and print it."""
print(event) # noqa=T201
print(event) # noqa: T201

asyncio.run(main(MockQueue(), {"match": "ALL"}))

0 comments on commit b738d1d

Please sign in to comment.