File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
env :
20
20
TOXENV : docs
21
+ TOX_SKIP_MISSING_INTERPRETERS : False
21
22
steps :
22
23
- uses : actions/checkout@v2
23
24
- uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 93
93
toxenv : lint
94
94
95
95
name : ${{ matrix.name }}
96
+ env :
97
+ TOX_SKIP_MISSING_INTERPRETERS : False
96
98
steps :
97
99
- uses : actions/checkout@v2
98
100
- uses : actions/setup-python@v2
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ def emit_line() -> None:
325
325
if not fields .get ('tp_vectorcall' ):
326
326
# This is just a placeholder to please CPython. It will be
327
327
# overriden during setup.
328
- fields ['tp_call' ] = 'PyVectorcall_Call'
328
+ fields ['tp_call' ] = 'PyVectorcall_Call'
329
329
fields ['tp_flags' ] = ' | ' .join (flags )
330
330
331
331
emitter .emit_line (f"static PyTypeObject { emitter .type_struct_name (cl )} _template_ = {{" )
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
minversion = 3.8.0
3
- skip_missing_interpreters = true
3
+ skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True}
4
4
envlist =
5
5
py36,
6
6
py37,
@@ -47,19 +47,16 @@ parallel_show_output = True
47
47
48
48
[testenv:lint]
49
49
description = check the code style
50
- basepython = python3.10
51
50
commands = flake8 {posargs}
52
51
53
52
[testenv:type]
54
53
description = type check ourselves
55
- basepython = python3.10
56
54
commands =
57
55
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
58
56
python -m mypy --config-file mypy_self_check.ini misc/proper_plugin.py
59
57
60
58
[testenv:docs]
61
59
description = invoke sphinx-build to build the HTML docs
62
- basepython = python3.10
63
60
deps = -rdocs/requirements-docs.txt
64
61
commands =
65
62
sphinx-build -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
You can’t perform that action at this time.
0 commit comments