In the stubs we usually have Sequence[bool], Sequence[int], etc. In some cases they can actually be Sequence[bool | np.bool], Sequence[int | np.integer], etc., and have been implemented in a few places.
Do we do it across the whole project?
Originally posted by @MarcoGorelli in #1505