Add pyright as an alternative to mypy.
Add a new job for pyright similar to mypy, and add a knob in the component spec for turning it on.