Contributions will be considered via standard Github Pull Requests.
Install
conda
(tested w/ miniforge)cd
into repo directory.Setup conda environment:
$ conda env create --name pytest-prefer-nested-dup-tests --file ./conda-environment.yml -v
Activate conda env:
$ conda activate pytest-prefer-nested-dup-tests
Install dependencies via poetry:
$ poetry install
Update conda env:
$ conda env update --name pytest-prefer-nested-dup-tests --file ./conda-environment.yml --prune -v
Update additional dependencies via poetry:
$ poetry install
- Conda:
- Manually update version pins in
conda-environment.yml
- Manually update version pins in
- Poetry:
- Option 1: Manually update dependencies in
pyproject.toml
- Option 2: Use
poetry update
command.
- Option 1: Manually update dependencies in
A cross-python version test matrix can be run locally with tox:
$ tox
Current python version only tests can be run locally with pytest:
$ pytest