From ba8c0522dc8a116e7a22c42e21190aa205d48253 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 5 May 2022 09:16:43 -0700 Subject: [PATCH] chore: add `cz` to default tox environment list and skip_missing_interpreters Add the `cz` (`comittizen`) check by default. Set skip_missing_interpreters = True so that when a user runs tox and doesn't have a specific version of Python it doesn't mark it as an error. --- .github/workflows/test.yml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36e5d617a..5b597bf1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,7 +55,7 @@ jobs: - name: Run tests env: TOXENV: ${{ matrix.python.toxenv }} - run: tox + run: tox --skip-missing-interpreters false functional: runs-on: ubuntu-20.04 diff --git a/tox.ini b/tox.ini index c8ddbaa89..4c197abaf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort +skip_missing_interpreters = True +envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort,cz [testenv] passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR