cd && git clone # path-to-this-repository.git
Verify if Python is installed.
python --version
To install multiple Python versions, use pyenv.
To activate:
pyenv local 3.10 3.11 3.12
cd # path-to-downloaded-repository
python -m venv .env
source .env/bin/activate
python -m pip install --upgrade pip setuptools
pip install -e .[dev]
pre-commit install
pre-commit autoupdate
pre-commit run --all-files
See tox for all test environments.
To run all:
tox
To run a specific environment:
tox -e py311
To generate documentation:
tox -e docs
The HTML pages are in docs/build/html.