This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Check diffs with Pyright #1042
Comments
I really like this, thank you! I think we should use it. Some things we should do first though:
|
d-perl
added a commit
that referenced
this issue
Dec 14, 2023
d-perl
added a commit
that referenced
this issue
Dec 14, 2023
d-perl
added a commit
that referenced
this issue
Dec 14, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using https://github.com/Bachmann1234/diff_cover
And this plugin https://github.com/dperl-dls/pyright_diff_quality_plugin
We can test branches for Pyright type-checking compliance without having to fix everything in the codebase at once.
To test this out:
diff-quality --violations pyright
For example, on my current branch I get:
Should we use this to help us migrate slowly to stricter type checking (and at some stage, hopefully, discard it for just using pyright)?
The text was updated successfully, but these errors were encountered: