Hacker News new | ask | show | jobs
by dilawar 461 days ago
True.

I had to give up on mypy and move to pyright because mypy uses pip to install missing types and they refuse to support uv. In the CI pipeline where I use UV, I don't have a pip installed so mypy complains about missing pip.

Of course I can do it by myself by adding typing pkgs to requirement.txt file then what's the point of devtools! And I don't want requirements.txt when I already got pyproject.toml.

Once you get used to cargo from rust, you just can't tolerate shitty tooling anymore. I used to think pip was great (compared to C++ tooling).

2 comments

Mypy doesn't install anything by default, you're probably setting the `--install-types` flag somehow.
Pyright is waaay better than Mypy anyway so I'd say they did you a favour.