Skip to content

gsweene2/python-poetry-template

Repository files navigation

python-poetry-template

How this project was created

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

What about pre existing projects?

Initialising a pre-existing project

Activate virtual env

poetry shell

Install dependencies

poetry install

Run Tests

poetry run pytest

Setting up the precommit hook

poetry run pre-commit sample-config > .pre-commit-config.yaml
poetry run pre-commit install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages