mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Enable Ruff B905 (#114197)
This commit is contained in:
@ -376,7 +376,7 @@ class TensorFlowImageProcessor(ImageProcessingEntity):
|
||||
|
||||
matches = {}
|
||||
total_matches = 0
|
||||
for box, score, obj_class in zip(boxes, scores, classes):
|
||||
for box, score, obj_class in zip(boxes, scores, classes, strict=False):
|
||||
score = score * 100
|
||||
boxes = box.tolist()
|
||||
|
||||
|
Reference in New Issue
Block a user