bitter-ability-32190
02/18/2022, 1:39 AMmypy
in a subcprocess one way or another which doesn't work well in Pants' execution model.
Turns out pyright
(as of this year) and pytype
have type assertions built-in, and it might make it into typing_extensions
, but mypy
is no-dice.
So, I had some fun and decided to hack it in mypy
through a plugin. Introducing my first and only PyPI package: mypy-typing-asserts
https://github.com/thejcannon/mypy-typing-asserts
And the resulting Pants PR (where the plugin found several issues 😈 ) https://github.com/pantsbuild/pants/pull/14527bitter-ability-32190
02/18/2022, 1:40 AMtyping_extensions
.busy-vase-39202
02/18/2022, 1:45 AMbitter-ability-32190
02/18/2022, 1:47 AMhappy-kitchen-89482
02/18/2022, 1:58 AMbusy-vase-39202
02/18/2022, 2:37 AM