<https://mypy-lang.blogspot.com/2023/02/mypy-10-re...
# random
r
w
40% faster!
🚀 1
c
any gotchas around pants supporting higher versions of mypy than it’s default? https://www.pantsbuild.org/docs/reference-mypy#version
r
So I tried inside our private repo by just updating the version inside pants.toml and everything went fine. That’s one data point. Also I have already been using 0.991 (not pants default)
c
I got caught out by the syntax on version being the same as requirements, rather than just
"1.0.0"
and had to create a mypy lockfile, but:
Copy code
version = "mypy==1.0.0"
lockfile = "3rdparty/mypy.lock"
and
./pants generate-lockfiles --resolve=mypy
got me there 🙂
🙌 1