Support PyRight

Description

Add pyright as an alternative to mypy.

Implementation ideas

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