Skip to content

Commit

Permalink
noqa for PERF203 on model dictionary test
Browse files Browse the repository at this point in the history
  • Loading branch information
philipqueen committed Sep 9, 2024
1 parent 07f22c6 commit 268b1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skellytracker/tests/test_yolo_object_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_yolo_object_model_dictionary():
for key in yolo_object_model_dictionary.keys():
try:
YOLOObjectTracker(model_size=key)
except KeyError:
except KeyError: # noqa: PERF203
print(f"Invalid model size: {key}")
except FileNotFoundError:
print(f"Invalid model size (.pt file not found): {key}")
Expand Down

0 comments on commit 268b1d4

Please sign in to comment.