Contributions to this repository must pass tests and linting.
CI is the canonical source of truth.
Install Python dependencies in a virtual environment.
pip install --editable '.[dev]'Spell checking requires enchant.
This can be installed on macOS, for example, with Homebrew:
brew install enchantand on Ubuntu with apt:
apt-get install -y enchantInstall pre-commit hooks:
prek installRun lint tools either by committing, or with:
prek run --all-files --hook-stage pre-commit --verbose
prek run --all-files --hook-stage pre-push --verbose
prek run --all-files --hook-stage manual --verboseRun pytest:
pytestTests are run on GitHub Actions.
The configuration for this is in `.github/workflows/.
- A new
gittag available to install. - A new package on PyPI.
Perform a release:
$ gh workflow run release.yml --repo adamtheturtle/sphinx-substitution-extensions