From ebe3dd6f996c624b18fc63a4f613d3091b35e61c Mon Sep 17 00:00:00 2001 From: Kirill Lakhov Date: Thu, 5 Dec 2024 19:24:01 +0300 Subject: [PATCH] Fixed sonar cloud issues (#8779) --- tests/python/cli/test_cli.py | 2 +- tests/python/sdk/test_auto_annotation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python/cli/test_cli.py b/tests/python/cli/test_cli.py index 8008f44270ab..5a2fb6b0506d 100644 --- a/tests/python/cli/test_cli.py +++ b/tests/python/cli/test_cli.py @@ -362,7 +362,7 @@ def test_auto_annotate_with_threshold(self, fxt_new_task: Task): ) annotations = fxt_new_task.get_annotations() - assert annotations.shapes[0].points[0] == 0.75 + assert annotations.shapes[0].points[0] == 0.75 # python:S1244 NOSONAR def test_auto_annotate_with_cmtp(self, fxt_new_task: Task): self.run_cli( diff --git a/tests/python/sdk/test_auto_annotation.py b/tests/python/sdk/test_auto_annotation.py index 0d22100cfb15..9c41112edb0a 100644 --- a/tests/python/sdk/test_auto_annotation.py +++ b/tests/python/sdk/test_auto_annotation.py @@ -290,7 +290,7 @@ def detect( conf_threshold=0.75, ) - assert received_threshold == 0.75 + assert received_threshold == 0.75 # python:S1244 NOSONAR cvataa.annotate_task( self.client,