为mypy生成存根文件
make_stub_files的Python项目详细描述
用法:make_stub_files.py[选项]文件1、文件2,…
- 选项:
-h, --help show this help message and exit -c FN, --config=FN full path to configuration file -d DIR, --dir=DIR full path to the output directory -o, --overwrite overwrite existing stub (.pyi) files -t, --test run unit tests on startup --trace-matches trace Pattern.matches --trace-patterns trace pattern creation --trace-reduce trace st.reduce_types --trace-visitors trace visitor methods -u, --update update stubs in existing stub file -v, --verbose verbose output in .pyi file -w, --warn warn about unannotated args