web/_routes.py contains Colors.to_hex(this_fixture.get_color()) a few times, and there's no type known for this_fixture (in pyright, at least).
If that type were annotated, you'd get an early warning that get_color() can return None, but to_hex can't take None.
web/_routes.py contains
Colors.to_hex(this_fixture.get_color())a few times, and there's no type known forthis_fixture(in pyright, at least).If that type were annotated, you'd get an early warning that
get_color()can return None, butto_hexcan't take None.