Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

45 lines (36 loc) · 1.01 KB

Installing auem for development

We use Poetry to install the package. We strongly recommend that you use pipx to install poetry in it's own global environment, thereby not interfering with the environment used to run this package.

Install pipx in your base conda/virtualenv

(base)$ pip install pipx

Install Poetry

This will install poetry in it's own environment:

(base)$ pipx install poetry
# install Poetry
pip install poetry

Use poetry to install auem

First create a new environment with the conda base environment:
$ conda create -f base37.yaml
$ conda activate auem37dev
# Will install from the poetry lockfile
(auem37dev)$ poetry install

Installing pre-commit hooks

We request that you use the provided pre-commit hooks if you plan to submit any code.

$ pipx install pre-commit
# From the root directory of this repo
$ pre-commit install

Running Tests

# Run all tests
(auem37dev)$ poetry run pytest