Mypy can apply to tests as well. I don't have any noticeably buggy Python programs and have written more than I can count. All this tooling is a great help but is no substitute for minimum of competence and attention.
It's when you want to add features to a codebase you don't understand, when these features shine.
It's when you want to add features to a codebase you don't understand, when these features shine.