运行pycodestyle的pytest插件
pytest-pycodestyle的Python项目详细描述
Pytest代码样式
pytest要运行的插件pycodestyle
安装
pip install pytest-codestyle
用法
pytest --codestyle ...
有关详细信息,请参见安装后的pytest -h
。
配置
您可以使用setup.cfg
(或pytest.ini
)配置pycodestyle的选项。
(参见Configuration — pytest documentation)
例如,
[tool:pytest]
codestyle_max_line_length = 100
codestyle_ignore = E302 E501
许可证
麻省理工学院的执照
版权所有(c)2017 Tsukasa Omoto