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)