File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ commands =
1414
1515[testenv]
1616extras = tests
17- commands = python -m pytest {posargs:-n auto}
17+ commands = pytest {posargs:-n auto}
1818passenv = SETUPTOOLS_SCM_PRETEND_VERSION
1919
2020
2121[testenv:py3{7,10,11}]
2222extras = cov
2323# Python 3.6+ has a number of compile-time warnings on invalid string escapes.
2424# PYTHONWARNINGS=d and --no-compile below make them visible during the Tox run.
25- install_command = python -m pip install --no-compile {opts} {packages}
25+ install_command = python -Im pip install --no-compile {opts} {packages}
2626setenv =
2727 HATCH_BUILD_HOOK_ENABLE_AUTORUN =1
2828 COVERAGE_PROCESS_START ={toxinidir}/pyproject.toml
@@ -32,7 +32,7 @@ commands = coverage run -m pytest {posargs:-n auto}
3232
3333[testenv:coverage-report]
3434basepython = python3.11
35- depends = py37,py310,py311
35+ depends = py3{7,10,11}
3636skip_install = true
3737deps = coverage[toml]>=5.3
3838commands =
@@ -43,8 +43,7 @@ commands =
4343[testenv:pre-commit]
4444skip_install = true
4545deps = pre-commit
46- passenv = HOMEPATH # needed on Windows
47- commands = pre-commit run --all-files --show-diff-on-failure
46+ commands = pre-commit run --all-files
4847
4948
5049[testenv:changelog]
You can’t perform that action at this time.
0 commit comments