Skip to content

Commit

Permalink
Move coverage run options to pytest.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed May 25, 2020
1 parent 191391e commit 22ece54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ filterwarnings=
ignore:Using or importing the ABCs:DeprecationWarning:bleach
# workaround for https://github.com/pypa/setuptools/issues/479
ignore:the imp module is deprecated::setuptools

addopts =
--cov=twine --cov-context=test --cov-report=
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deps =
passenv =
PYTEST_ADDOPTS
commands =
pytest {posargs:--cov=twine --cov-context=test --cov-report term-missing --cov-report html tests}
pytest {posargs:--cov-report term-missing --cov-report html tests}

[testenv:docs]
deps =
Expand Down

0 comments on commit 22ece54

Please sign in to comment.