Detox, part 2 of N (#12152)

I've argued in #11537 that poetry and tox don't cooperate well at the
moment. (See also #12119.) Therefore I'm pruning away bits of tox to make the transition to poetry easier. This change removes the commands for coverage.

We don't use coverage in anger at the moment. It shouldn't be too hard to add coverage as a dev-dependency and reintroduce this if we really want it.
This commit is contained in:
David Robertson 2022-03-03 17:14:09 +00:00 committed by GitHub
parent 7e91107be1
commit 9297d040a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 26 deletions

1
changelog.d/12152.misc Normal file
View File

@ -0,0 +1 @@
Prune unused jobs from `tox` config.

26
tox.ini
View File

@ -158,32 +158,6 @@ commands =
extras = lint extras = lint
commands = isort -c --df {[base]lint_targets} commands = isort -c --df {[base]lint_targets}
[testenv:combine]
skip_install = true
usedevelop = false
deps =
coverage
pip>=10
commands=
coverage combine
coverage report
[testenv:cov-erase]
skip_install = true
usedevelop = false
deps =
coverage
commands=
coverage erase
[testenv:cov-html]
skip_install = true
usedevelop = false
deps =
coverage
commands=
coverage html
[testenv:mypy] [testenv:mypy]
deps = deps =
{[base]deps} {[base]deps}