Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit daaf9c9

Browse filesBrowse files
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.
1 parent ef207da commit daaf9c9
Copy full SHA for daaf9c9

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎.github/workflows/test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Run tests
5656
env:
5757
TOXENV: ${{ matrix.python.toxenv }}
58-
run: tox
58+
run: tox ----skip-missing-interpreters false
5959

6060
functional:
6161
runs-on: ubuntu-20.04
Collapse file

‎tox.ini‎

Copy file name to clipboardExpand all lines: tox.ini
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort
4+
skip_missing_interpreters = True
5+
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort,cz
56

67
[testenv]
78
passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.