-
-
Notifications
You must be signed in to change notification settings - Fork 655
Description
Hi! I'm one of the maintainers of Pyrefly, which is a Python type checker and language server. We've recently migrated a couple projects in the pytorch ecosystem (pytorch/helion#1143, pytorch/pytorch#166197) to Pyrefly for faster type checking and better IDE support, and I was wondering if Ignite would be interested in migrating as well?
I've drafted a commit that would enable Pyrefly, so you can see what that would look like: rchen152@5233b91. Pyrefly does a full check in 1s, compared to 35s for Mypy. It does require more error suppressions for additional things it checks for, like possibly unbound variable names.
If this seems interesting, I can open a couple PRs (one to add Pyrefly, then a follow-up to remove Mypy and clean up some of the easy-to-fix suppressions).