supervision/tests/annotators
Teïlo M 14c3c86e22
Fix hex parser accepting multiple leading prefixes (#2421)
`hex_to_rgba` previously stripped every leading `#`, so invalid inputs such as `##000000` were accepted despite `is_valid_hex` rejecting them.

Remove only one optional prefix and add regression coverage for the minimized failing input.

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2026-07-11 00:55:51 +02:00
..
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_core.py fix: close out remaining review findings (#2418) 2026-07-09 17:53:52 +02:00
test_docs.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_utils.py Fix hex parser accepting multiple leading prefixes (#2421) 2026-07-11 00:55:51 +02:00