Mypy does not have strict settings by default. It has to have a config, to do a proper type checking:

Good:

Other: