Commit 4bac4653 authored by Jason R. Coombs's avatar Jason R. Coombs

Move coverage configuration to .coveragerc. Saves characters and separates concerns.

parent 2a55538a
[run]
source=
pkg_resources
setuptools
omit=
*/_vendor/*
[report]
...@@ -23,7 +23,7 @@ setenv = ...@@ -23,7 +23,7 @@ setenv =
# TODO: The passed environment variables came from copying other tox.ini files # TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them. # These should probably be individually annotated to explain what needs them.
passenv=APPDATA HOMEDRIVE HOMEPATH windir Program* CommonProgram* VS* APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED passenv=APPDATA HOMEDRIVE HOMEPATH windir Program* CommonProgram* VS* APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
commands=pytest --cov-config={toxinidir}/tox.ini --cov-report= {posargs} commands=pytest {posargs}
usedevelop=True usedevelop=True
extras = extras =
tests tests
...@@ -53,13 +53,6 @@ changedir = docs ...@@ -53,13 +53,6 @@ changedir = docs
commands = commands =
python -m sphinx . {toxinidir}/build/html python -m sphinx . {toxinidir}/build/html
[coverage:run]
source=
pkg_resources
setuptools
omit=
*/_vendor/*
[testenv:finalize] [testenv:finalize]
skip_install = True skip_install = True
deps = deps =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment