00 安装与使用mypy

安装与使用mypy

1. install

pip install mypy

2. usage

mypy example.py

3. vscode config

​ 打开settings.json

{
"python.linting.mypyEnabled": true
}