Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 931 Bytes

CONTRIBUTING.md

File metadata and controls

57 lines (41 loc) · 931 Bytes

Contributing

quickstart

one-time setup

system-wide

user-specific

# install dev tools
pipx install pdm pre-commit tox
pipx inject pdm pdm-autoexport
pipx inject tox virtualenv-pyenv

# OS-independent Python versions
curl https://pyenv.run | bash
pyenv install 3.10
pyenv install 3.11
pyenv install 3.12

repository setup

# install pre-commit hooks
for hook_type in pre-commit commit-msg post-commit pre-push ; do
    pre-commit install --allow-missing-config --hook-type $hook_type
done

# install package dependencies
pdm install

perform unit tests:

pdm run pytest

perform compatibility tests:

tox

use the demo script

pdm run examples/demonstrator.py
pdm run examples/demonstrator.py -v -i 2