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 127acd2 commit 58eef33
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 = --cov django_feature_policy
--cov-report term-missing:skip-covered
--cov-fail-under 100
--cov-config setup.cfg
6 changes: 0 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,5 @@ paths = django_feature_policy.py
setup.py
tests

[tool:pytest]
addopts = --cov django_feature_policy
--cov-report term-missing:skip-covered
--cov-fail-under 100
--cov-config setup.cfg

[coverage:run]
branch = True

0 comments on commit 58eef33

Please sign in to comment.