Replies: 1 comment 2 replies
-
|
I'm somewhat surprised this thread is empty – given that https://github.com/hynek/svcs is kinda at the frontier of Python typing, it would be great if y'all could add it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For a long time, the maintainers of mypy have used this nifty tool called mypy_primer to run regression tests for every PR submitted to the mypy repo. This tool runs mypy on a large number of open-source typed Python libraries to determine whether a change to the mypy source code breaks something. The mypy_primer tool is also used by the maintainers of typeshed to detect regressions in typeshed stub files.
The author of mypy_primer (@hauntsaninja) has graciously extended the tool to support pyright. By using mypy_primer within pyright's CI workflows, we will now have better visibility into the impact of individual changes made to pyright.
For now, I've configured mypy_primer to run on just a handful of open-source libraries.
If you are a library maintainer and use pyright for your project, let us know if you'd like us to add your library to the pyright regression tests.
Beta Was this translation helpful? Give feedback.
All reactions