happy-kitchen-89482
05/18/2022, 3:32 PM# type: ignore
to help it along), but fails slowly under Pants (partly because those # type: ignore
are unneeded)happy-kitchen-89482
05/18/2022, 3:33 PMhappy-kitchen-89482
05/18/2022, 3:33 PMhappy-kitchen-89482
05/18/2022, 3:33 PMbitter-ability-32190
05/18/2022, 3:34 PMmypy
is doing additional work?happy-kitchen-89482
05/18/2022, 3:35 PMhappy-kitchen-89482
05/18/2022, 3:35 PMbitter-ability-32190
05/18/2022, 3:36 PMmypy
to only look at types when required. That's easily measured. Have mypy
run in a sandbox with a bunch of reqs, but the file is empty.
That should be fast.
Then do the same thing, but with a file with a bunch of imports all `# type: ignore`d. I would expect that to be fast as wellhappy-kitchen-89482
05/18/2022, 3:39 PMhappy-kitchen-89482
05/18/2022, 3:40 PMhappy-kitchen-89482
05/18/2022, 3:41 PMhappy-kitchen-89482
05/18/2022, 3:56 PMbitter-ability-32190
05/18/2022, 3:56 PMbitter-ability-32190
05/18/2022, 3:56 PMhappy-kitchen-89482
05/18/2022, 3:56 PMhappy-kitchen-89482
05/18/2022, 3:56 PMbitter-ability-32190
05/18/2022, 3:58 PMbitter-ability-32190
05/18/2022, 4:08 PMmypy
is parsing types for the imports because they are there, and then after the fact complaining about the type: ignore
because it does have typesbitter-ability-32190
05/18/2022, 4:09 PM