mypy

12 engineers on Hacker News describe using mypy first-hand: 6 endorse it, 2 regret it, 0 are mixed.

70%trust
12first-hand users
8in production
endorse 6mixed 0regret 2uses, no opinion

“For the most part I found mypy was able to infer more accurately and flexibly.”

endorse · personal · gwking · 2025-12-17 · source ↗ · wrong label?

“We run mypy with `--strict` mode in CI, which means it only passes if we have type hints and if they are correct”

endorse · production · flanked-evergl · 2025-09-24 · source ↗ · wrong label?

“in my last project it became so painful to use, and felt like it was adding so little (and preventing so few actual issues), that I kind of regretted pushing for it.”

regret · production · MrJohz · 2022-12-30 · source ↗ · wrong label?

“I've worked with really large auto generated codes and mypy never took more than a minute or two to run.”

endorse · production · Too · 2022-04-22 · source ↗ · wrong label?

“mypy helps to make sure everything is consistent.”

endorse · production · danpalmer · 2021-11-12 · source ↗ · wrong label?

“I've caught more subtle bugs by enabling mypy on new sections of code than by running and debugging in production.”

endorse · production · nuclear_eclipse · 2020-12-05 · source ↗ · wrong label?

“both mypy and enforce have problems in common that are probably coming from the way python itself is built”

regret · personal · qquark · 2018-12-19 · source ↗ · wrong label?

“I've been using mypy for a while now and I love it!”

endorse · personal · Rotareti · 2018-12-12 · source ↗ · wrong label?

“did the entire mypy -> ty refactor in about 3 weeks”

neutral · production · Syntaf · 2026-06-09 · source ↗ · wrong label?

“We run both Pyright and Mypy... they catch different errors so we've kept both”

neutral · production · 2 yr · shrumm · 2025-12-16 · source ↗ · wrong label?

“I did that with 4000 lines of code on top of MyPy's typed AST, in Oils”

neutral · production · chubot · 2023-08-25 · source ↗ · wrong label?

“I took the time to actually learn two of the libraries I've used at a surface level.”

neutral · personal · Macha · 2018-12-23 · source ↗ · wrong label?