strict-lite #10775
wyattscarpenter
started this conversation in
Ideas
strict-lite
#10775
Replies: 0 comments
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.
-
I love using pyright and how it helps me catch errors in my code! Recently I've been experimenting with something I've been thinking of as "strict-lite" mode. Basically, I want to enable every check from "strict" (and maybe more...) except those that complain as a result of my dependencies being untyped, because it's not realistic for me to type all of my dependencies. (Although, I totally understand that ideally I would, in order to actually achieve type soundness.) Also: I didn't verify these were all because my dependencies were untyped. Basically I just switched strict mode on, got 800 new type errors, and then removed rules until they got down to a manageable level (the manageable level being the new errors caught by strict that I could actually do something about, some of which were quite helpful.) Here's what I ended up with, if anyone's interested:
Beta Was this translation helpful? Give feedback.
All reactions