Going through FastAPI docs, it looks like the following function
def get_name_with_age(name: str, age: int):
name_with_age = name + " is this old: " + age
return name_with_age
should trigger an error message in VSCode via a Python linter (mypy, in the example)
I'm already using flake8 but it doesn't detect such kinds of error. Is there a way to make flake8 behave like that?