Skip to content

Commit

Permalink
Move Pytest config from setup.cfg to tox.ini
Browse files Browse the repository at this point in the history
As per pytest-dev/pytest#3375 , mentioned in changelog for 4.1.1
  • Loading branch information
adamchainz committed Jan 24, 2019
1 parent ad964ef commit 4f84700
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ license_file = LICENSE
[tool:multilint]
paths = apig_wsgi.py
test_apig_wsgi.py

[tool:pytest]
addopts = --cov=apig_wsgi
--cov-report term-missing
--cov-fail-under 100
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ commands = multilint --skip setup.py

[testenv:py3-codestyle]
commands = multilint

[pytest]
addopts = --cov=apig_wsgi
--cov-report term-missing
--cov-fail-under 100

0 comments on commit 4f84700

Please sign in to comment.