将 Chuy 与诗歌集成的插件
项目描述
诗楚插件
注意:这仅适用于 Poetry 1.2.0 或更高版本。
安装
从您的终端:
poetry plugin add poetry-chuy-plugin
配置
在你的pyproject.toml
:
[tool.chuy]
format = "poetry run black ."
lint = "poetry run pylint chuy tests"
tests = "poetry run pytest"
package = "poetry build && poetry publish"
用法
poetry chuy tests
或传递多个参数:
poetry chuy tests lint
有关所有选项,请参见Chuy。
执照
这个项目是在MIT License下获得许可的。