dagster
dagster copied to clipboard
Add pyright typecheck and coverage steps to BK
Summary & Motivation
This adds pyright typecheck and coverage steps to BK. They are disabled by default. Eventually, we should replace our mypy typecheck step with the pyright coverage step-- pyright is simply better, with far fewer bugs, better editor integration, better performance, and extremely responsive developers. We can't transition yet because pyright is also more sensitive than mypy and most of our code does not pass.
The type coverage step can be introduced sooner-- it checks whether the public API is fully typed. We are already at this standard with dagster core and will soon be with extension libs.
How I Tested These Changes
BK
The latest updates on your projects. Learn more about Vercel for Git ↗︎
