Skip to content

Commit

Permalink
Streamline tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Feb 6, 2023
1 parent ae9ed07 commit 4e7bf26
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[tox]
envlist =
min_version = 4
env_list =
pre-commit,
mypy,
py37,
py38,
py39,py39-colorama,
py39{,-colorama},
py310,
py311,py311-{be,rich},
py311{,-be,-rich},
docs,
coverage-report
isolated_build = true


[testenv:docs]
# Keep basepython in sync with ci.yml/docs and .readthedocs.yaml.
basepython = python3.10
base_python = python3.10
extras = docs
passenv = TERM
pass_env = TERM
commands =
sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -n -T -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
Expand All @@ -36,7 +36,7 @@ commands = mypy src typing_examples.py

[testenv]
extras = tests
setenv = PYTHONHASHSEED = 0
set_env = PYTHONHASHSEED = 0
commands = python -m pytest {posargs}


Expand Down Expand Up @@ -67,7 +67,7 @@ basepython = python3.11
deps = coverage[toml]
skip_install = true
parallel_show_output = true
depends = py37,py39-colorama,py311,py311-{be,rich}
depends = py37,py39-colorama,py311{,-be,-rich}
commands =
python -m coverage combine
python -m coverage report
Expand Down

0 comments on commit 4e7bf26

Please sign in to comment.