Hacker News new | ask | show | jobs
by ivalm 2086 days ago
Your code should get type checked whenever you run tests and can help reveal subtle bugs (for example, allowing Optional but not handling None in all code paths)
1 comments

Another great value of running mypy on your code is that you ensure it can be compiled as a whole!