retype:将.pyi存根中的类型注释重新应用于代码库

时间:2024-05-24 08:35:21
【文件属性】:

文件名称:retype:将.pyi存根中的类型注释重新应用于代码库

文件大小:39KB

文件格式:ZIP

更新时间:2024-05-24 08:35:21

python typing python3 stubs type-checking

重新输入 将.pyi存根中的类型注释重新应用于代码库。 用法 Usage: retype [OPTIONS] [SRC]... Re-apply type annotations from .pyi stubs to your codebase. Options: -p, --pyi-dir DIRECTORY Where to find .pyi stubs. [default: types] -t, --target-dir DIRECTORY Where to write annotated sources. [default: typed-src] -i, --incremental Allow for missing type annotations in both s


【文件预览】:
retype-master
----mypy.ini(702B)
----.github()
--------workflows()
----src()
--------retype()
----types()
--------.flake8(397B)
--------setup.pyi(0B)
--------src()
--------tests()
----tox.ini(3KB)
----LICENSE(1KB)
----setup.cfg(2KB)
----setup.py(88B)
----README.md(8KB)
----.pre-commit-config.yaml(862B)
----tests()
--------test_entry_points.py(269B)
--------test_retype.py(79KB)
--------test_discovery.py(2KB)
----.gitignore(829B)
----pyproject.toml(409B)

网友评论