Cleanup for mypy

This commit is contained in:
Nicolas Mowen 2025-10-01 06:14:18 -06:00
parent 34b4cc9cb1
commit 3402aec3c3

View File

@ -20,7 +20,7 @@ class StationaryThresholds:
# Objects to apply these thresholds to
# If None, apply to all objects
objects: list[str] | None = None
objects: list[str] = []
# Threshold of IoU that causes the object to immediately be considered active
# Below this threshold, assume object is active
@ -55,7 +55,6 @@ DYNAMIC_OBJECT_THRESHOLDS = StationaryThresholds(
)
@staticmethod
def get_stationary_threshold(label: str) -> StationaryThresholds:
"""Get the stationary thresholds for a given object label."""