radiacode
radiacode copied to clipboard
RFC: Adding a bunch more type annotations from pyrefly
Pyrefly looks like a pretty neat way to check and enforce type annotations; I also enabled strict checking with Pylance in VSFR ... err, VSCode.
Pyrefly type checking could even be enabled as a github workflow if it's not too annoying. Of course, not everyone uses vscode, but there's a CLI version...
Thoughts? This PR should probably not be merged, I mostly did this to see how big the diff would be, and if it's something we even want to do.