Skip to content

Commit

Permalink
Remove unused pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed Mar 6, 2024
1 parent 094d94c commit 13109b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nos/inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def prepare_core(
user_dao = await user_dao_factory(dao_factory=dao_factory)

async with (
KafkaEventPublisher.construct(config=config) as event_publisher, # type: ignore
KafkaEventPublisher.construct(config=config) as event_publisher,
):
notification_emitter = NotificationEmitter(
config=config, event_publisher=event_publisher
Expand Down
2 changes: 1 addition & 1 deletion src/nos/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

async def consume_events(run_forever: bool = True):
"""Start consuming events with kafka"""
config = Config() # type: ignore [call-arg]
config = Config()

configure_logging(config=config)

Expand Down

0 comments on commit 13109b6

Please sign in to comment.