Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use generative section names in tox.ini
By prefixing *all* our testenvs with the Python version factor ("py311", "py312", etc.), we can ensure that all of our testenvs can be invoked with either Python version being present on the system. tox will then skip those environments that don't match the Python present on the system, and — provided the remaining environments succeed — return with a zero exit code (indicating success). However, if *all* environments are skipped, because there is no matching Python version present on the system at all, it returns with a nonzero exit code (indicating failure). Reference: https://tox.wiki/en/latest/config.html#generative-section-names
- Loading branch information