mypy
Type check Python code. More information: https://mypy.readthedocs.io/en/stable/running_mypy.html.
- Type check a specific file:
mypy
- Type check a specific module:
mypy
- Type check a specific package:
mypy
- Type check a string of code:
mypy ""
- Ignore missing imports:
mypy --ignore-missing-imports
- Show detailed error messages:
mypy
- Specify a custom configuration file:
mypy --config-file
- Display help:
mypy
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
