3 ms·
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
by ivalm 6y 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)
- mkesper 6y agoAnother great value of running mypy on your code is that you ensure it can be compiled as a whole!