Enable import following in MYPYNOFOLLOW (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: https://github.com/pytorch/pytorch/pull/113830
Approved by: https://github.com/Skylion007
ghstack dependencies: #113722, #113721
Reviewed By: huydhn
Differential Revision: D51444167
Pulled By: int3
fbshipit-source-id: 0f221fed326a448c59e4f7c1196ee2127ca47663