Closed nat-n closed 4 years ago
Further to discussion at #32
Poe the Poet is a task runner that works well with poetry. You define tasks in the pyproject.toml like so:
[tool.poe.tasks] test = "pytest --cov=poethepoet" # simple command based task mksandwich = { script = "my_package.sandwich:build" } # python script based task tunnel = { shell = "ssh -N -L 0.0.0.0:8080:$PROD:8080 $PROD &" } # shell script based task
and then run them with the poe executable like so:
poe test
The task will be executed inside the poetry managed virtualenv, so no need to specify poetry run anywhere.
poetry run
- [Resource Title](link) - Resource short Description (2 lines or less in total)
[tool.xxx]
Further to discussion at #32
Resource description
Poe the Poet is a task runner that works well with poetry. You define tasks in the pyproject.toml like so:
and then run them with the poe executable like so:
The task will be executed inside the poetry managed virtualenv, so no need to specify
poetry run
anywhere.By submitting this pull request I confirm I've read and complied with the below requirements
[tool.xxx]
)