<#17141 python typechecking: add support for pyrig...
# github-notifications
q
#17141 python typechecking: add support for pyright Issue created by smelc Would it be possible to add support for Microsoft's pyright typechecker for python files? It is available on pypi so it installs easily and has a straightforward CLI:
pyright py_files_to_check
. I have looked at the implementation of the backend for mypy but it doesn't seem so straightforward that I add the support on my own 🙂 Describe the solution you'd like Ideally, solving this issue would amount to making the following backend possible: backend_packages = [ "pants.backend.python.typecheck.pyright", ] Describe alternatives you've considered Using mypy, but it's not really an option since our existing monorepo uses
pyright
in its CI and in local development workflows. pantsbuild/pants