smart-imports:用于Python的智能导入

时间:2021-02-26 19:07:54
【文件属性】:
文件名称:smart-imports:用于Python的智能导入
文件大小:46KB
文件格式:ZIP
更新时间:2021-02-26 19:07:54
python automation metaprogramming code-analysis imports 适用于Python的智能导入 自动发现并导入当前模块中使用的实体。 没有魔术或猴子补丁。 仅标准的Python功能。 前 后 import math from my_project import calc # 100500 other imports def my_code ( argument , function = calc ): return math . log ( function ( argument )) import smart_imports smart_imports . all () # no any other imports def my_code ( argument , function = calc ): return math . log ( function ( argument )) 支持。 概括 获取从中smart_impo
【文件预览】:
smart-imports-develop
----MANIFEST.in(63B)
----.travis.yml(442B)
----README.rst(14KB)
----LICENSE(1KB)
----smart_imports()
--------constants.py(356B)
--------plugins()
--------tests()
--------discovering.py(1KB)
--------rules.py(9KB)
--------importer.py(3KB)
--------helpers.py(616B)
--------__init__.py(46B)
--------ast_parser.py(5KB)
--------config.py(3KB)
--------scopes_tree.py(4KB)
--------cache.py(2KB)
--------fixtures()
--------exceptions.py(968B)
----setup.py(1KB)
----.gitignore(1KB)
----CHANGELOG.rst(1KB)

网友评论