Skip to content

Commit

Permalink
Move Pytest config from setup.cfg to pytest.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 25, 2019
1 parent fc5e2f2 commit 27d25b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[pytest]
addopts = -p no:doctest
--cov=corsheaders
--cov-report term-missing
--cov-fail-under 100
6 changes: 0 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,3 @@ paths = corsheaders
runtests.py
tests
setup.py

[tool:pytest]
addopts = -p no:doctest
--cov=corsheaders
--cov-report term-missing
--cov-fail-under 100

0 comments on commit 27d25b9

Please sign in to comment.