Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable import following in MYPY (now MYPYINDUCTOR) (#113830)
Summary: Skipping importing some packages for now to make this change more tractable. For some reason, lintrunner on CI raises errors in all imported `.pyi` files, even though it doesn't on my local machine. The errors are all from missing generic types, as the MYPYINDUCTOR config has `disallow_any_generics` set. I have thus added `disable-error-code` comments to the relevant files, though I fixed a few that were easy enough. X-link: pytorch/pytorch#113830 Approved by: https://github.com/Skylion007 ghstack dependencies: #113722, #113721 Reviewed By: huydhn Differential Revision: D51444167 Pulled By: int3 fbshipit-source-id: 0f221fed326a448c59e4f7c1196ee2127ca47663
- Loading branch information