Here's a sample python file I have
class Person:
name: str
age: int
def __init__(self, name, age):
self.name = name
self.age = age
p = Person(5, 5)
But when I run mypy test.py I get the following output
$ mypy test.py
Success: no issues found in 1 source file
Shouldn't it be complaining that it's trying to assign 5 to the name variable and I've indicated that should be of type str