Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
minversion = 3.8.0
skip_missing_interpreters = true
envlist =
py35,
py36,
py37,
py38,
py39,
py310,
lint,
type,
docs,
Expand Down Expand Up @@ -36,26 +38,28 @@ commands =
coverage html -d {toxworkdir}/htmlcov --rcfile setup.cfg
diff-cover --compare-branch {env:DIFF_AGAINST:origin/master} {toxworkdir}/coverage.xml
depends =
py35,
py36,
py37,
py38,
py39,
py310,
parallel_show_output = True

[testenv:lint]
description = check the code style
basepython = python3.7
basepython = python3.10
commands = flake8 {posargs}

[testenv:type]
description = type check ourselves
basepython = python3.7
basepython = python3.10
commands =
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
python -m mypy --config-file mypy_self_check.ini misc/proper_plugin.py

[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.7
basepython = python3.10
deps = -rdocs/requirements-docs.txt
commands =
sphinx-build -d "{toxworkdir}/docs_doctree" docs/source "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
Expand Down