Install
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
source $HOME/.poetry/env
Initialize new project
poetry new python-poetry-template
Initialising a pre-existing project
poetry shell
poetry install
poetry run pytest
poetry run pre-commit sample-config > .pre-commit-config.yaml
poetry run pre-commit install