From 13109b6cea9c9137766a0313916b180d64c165fb Mon Sep 17 00:00:00 2001 From: TheByronHimes Date: Wed, 6 Mar 2024 09:31:18 +0000 Subject: [PATCH] Remove unused pragmas --- src/nos/inject.py | 2 +- src/nos/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nos/inject.py b/src/nos/inject.py index 18e7d15..b6f5554 100644 --- a/src/nos/inject.py +++ b/src/nos/inject.py @@ -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 diff --git a/src/nos/main.py b/src/nos/main.py index d343e62..f75d05c 100644 --- a/src/nos/main.py +++ b/src/nos/main.py @@ -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)