From acae38377f085848bf8d1d21453660d1d166024a Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Fri, 17 Oct 2025 16:25:50 -0300 Subject: [PATCH] SIENTIAPDE-1318 Refactor app.py for consistency in comment formatting - Updated the main asynchronous function and loop condition comments for improved readability and consistency. --- ingestor/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestor/app.py b/ingestor/app.py index d75bf99..36902f6 100644 --- a/ingestor/app.py +++ b/ingestor/app.py @@ -14,7 +14,7 @@ exit_signal = Event() POD_ID = os.getenv('HOSTNAME', 'localhost') -async def main(): # NOSONAR +async def main(): # NOSONAR """ Main asynchronous function that orchestrates the OPC Ingestor application. @@ -48,7 +48,7 @@ async def main(): # NOSONAR exit_signal.set() ingestor.logger.info('Ingestor prepared. Starting main loop.') - while not exit_signal.is_set(): # NOSONAR + while not exit_signal.is_set(): # NOSONAR start_time = time() # Start loop timer try: await ingestor.loop()