The point about mypy was it does type checking (static analysis) for your Python code. Not speeding it up.