This is bundled with Chuy since v1.3.0.
This plugin integrates Chuy with Poetry.
Note: This only works in Poetry 1.2.0 or superior.
From your terminal:
poetry plugin add poetry-chuy-plugin
In your 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
Or pass multiple arguments:
poetry chuy tests lint
See Chuy for all the options.
This project is licensed under the MIT License.