Skip to content

Commit 02075c6

Browse files
committed
Sync up a bit with Klein
1 parent 1c2bf35 commit 02075c6

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

tox.ini

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22

33
envlist =
4-
flake8, mypy, black
4+
flake8, black, mypy
55
test-py{26,27,34,35,36,37,38,39,py2,py3}
66
coverage_report
77
docs
@@ -32,6 +32,8 @@ setenv =
3232
description = run tests
3333

3434
basepython =
35+
py: python
36+
3537
py26: python2.6
3638
py27: python2.7
3739
py34: python3.4
@@ -40,6 +42,7 @@ basepython =
4042
py37: python3.7
4143
py38: python3.8
4244
py39: python3.9
45+
py310: python3.10
4346

4447
pypy2: pypy
4548
pypy3: pypy3
@@ -292,7 +295,7 @@ passenv =
292295
setenv =
293296
{[testenv:coverage_report]setenv}
294297

295-
COVERAGE_XML={envlogdir}/coverage_report.xml
298+
COVERAGE_XML={envlogdir}/coverage.xml
296299

297300
commands =
298301
# Note documentation for CI variables in passenv above
@@ -367,3 +370,21 @@ commands =
367370
check-manifest
368371
pip wheel --wheel-dir "{envtmpdir}/dist" --no-deps {toxinidir}
369372
twine check "{envtmpdir}/dist/"*
373+
374+
375+
##
376+
# Print dependencies
377+
##
378+
379+
[testenv:dependencies]
380+
381+
description = print dependencies
382+
383+
basepython = {[default]basepython}
384+
385+
recreate = true
386+
387+
deps =
388+
389+
commands =
390+
pip freeze --exclude={env:PY_MODULE}

0 commit comments

Comments
 (0)