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