Pyright can analyze for a specific runtime version, which is helpful to detect usage of deprecated language features. An example is the use of class properties, which is no longer supported in Python 3.13.
Note: right now, we run pyright indirectly, as part of poetry run lint.