mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Make some ruff fixes (#8154)
* Make some ruff fixes * Undo manual fix * Undo manual fix * Updates from ruff=0.0.251
This commit is contained in:
@@ -159,7 +159,7 @@ def update_image_and_anno(
|
||||
new_anno.append([bbox[0], xmin, ymin, xmax, ymax])
|
||||
|
||||
# Remove bounding box small than scale of filter
|
||||
if 0 < filter_scale:
|
||||
if filter_scale > 0:
|
||||
new_anno = [
|
||||
anno
|
||||
for anno in new_anno
|
||||
|
||||
Reference in New Issue
Block a user