Skip to content

Commit

Permalink
Fixed sonar cloud issues (#8779)
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov authored Dec 5, 2024
1 parent 683804e commit ebe3dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/python/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion tests/python/sdk/test_auto_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ebe3dd6

Please sign in to comment.