File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 env :
2020 TOXENV : docs
21+ TOX_SKIP_MISSING_INTERPRETERS : False
2122 steps :
2223 - uses : actions/checkout@v2
2324 - uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 9393 toxenv : lint
9494
9595 name : ${{ matrix.name }}
96+ env :
97+ TOX_SKIP_MISSING_INTERPRETERS : False
9698 steps :
9799 - uses : actions/checkout@v2
98100 - uses : actions/setup-python@v2
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ def emit_line() -> None:
325325 if not fields .get ('tp_vectorcall' ):
326326 # This is just a placeholder to please CPython. It will be
327327 # overriden during setup.
328- fields ['tp_call' ] = 'PyVectorcall_Call'
328+ fields ['tp_call' ] = 'PyVectorcall_Call'
329329 fields ['tp_flags' ] = ' | ' .join (flags )
330330
331331 emitter .emit_line (f"static PyTypeObject { emitter .type_struct_name (cl )} _template_ = {{" )
Original file line number Diff line number Diff line change 11[tox]
22minversion = 3.8.0
3- skip_missing_interpreters = true
3+ skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True}
44envlist =
55 py36,
66 py37,
@@ -47,19 +47,16 @@ parallel_show_output = True
4747
4848[testenv:lint]
4949description = check the code style
50- basepython = python3.10
5150commands = flake8 {posargs}
5251
5352[testenv:type]
5453description = type check ourselves
55- basepython = python3.10
5654commands =
5755 python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
5856 python -m mypy --config-file mypy_self_check.ini misc/proper_plugin.py
5957
6058[testenv:docs]
6159description = invoke sphinx-build to build the HTML docs
62- basepython = python3.10
6360deps = -rdocs/requirements-docs.txt
6461commands =
6562 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