pytest-flakes:用于运行pyflakes的pytest插件

时间:2021-02-17 09:39:18
【文件属性】:
文件名称:pytest-flakes:用于运行pyflakes的pytest插件
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-17 09:39:18
python pytest pyflakes Python pytest片 py.test插件,用于使用pyflakes有效地检查python源。 用法 通过以下方式安装: pip install pytest-flakes 如果再输入: py.test --flakes 从命令行参数开始,将发现每个以.py结尾的文件并通过pyflakes运行。 简单用法示例 考虑您有以下代码: # content of module.py import os from os.path import * def some_function(): pass 在安装pytest-flakes的情况下运行它会显示两个问题: $ py.test -q --flakes F ================================= FAILURES ================================= ________________
【文件预览】:
pytest-flakes-master
----MANIFEST.in(74B)
----README.rst(5KB)
----pytest_flakes.py(6KB)
----test_flakes.py(2KB)
----.travis.yml(159B)
----tox.ini(412B)
----LICENSE(1KB)
----setup.cfg(77B)
----setup.py(1KB)
----.gitignore(135B)
----.coveragerc(48B)

网友评论