Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 612 Bytes

DEVELOPMENT.md

File metadata and controls

30 lines (21 loc) · 612 Bytes

How to prepare a development environment

  1. Install poetry:
# MacOS / Linux
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

# Windows
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
  1. Install dependencies & pre-commit hooks:
poetry install

pre-commit install
  1. (Optional) Activate the poetry virtual environment:
poetry shell
  1. Run tests & mypy using tox:
tox