tide icon indicating copy to clipboard operation
tide copied to clipboard

"score" parameter in Data.add_detection is annotated as "int", should probably be "float"

Open drewm1980 opened this issue 2 years ago • 0 comments

mypy did not complain because it considers int a subtype of float, for better or worse: https://mypy.readthedocs.io/en/stable/duck_type_compatibility.html

but it bites your callers.

drewm1980 avatar Nov 25 '21 16:11 drewm1980