Skip to content

Commit d674068

Browse files
Use pytest-cov
1 parent 4f87f53 commit d674068

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ django-tastypie = {version="^0.14.5", optional = true}
4545
tox = "^4.5.1"
4646
pytest = "^7.3.1"
4747
pylint = ">=2.13"
48-
coverage = "^7.2.5"
48+
pytest-cov = "^4.1.0"
4949
twine = "^4.0.2"
5050
wheel = "^0.40.0"
5151

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ commands =
2222
flake8: flake8 pylint_django/
2323
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django
2424
readme: bash -c "poetry build && twine check dist/*"
25-
py{38,39,310,311}-django{32,41,42}: coverage run pylint_django/tests/test_func.py -v
25+
py{38,39,310,311}-django{32,41,42}: pytest --cov=pylint_django pylint_django/tests/test_func.py -v
2626
clean: find . -type f -name '*.pyc' -delete
2727
clean: find . -type d -name __pycache__ -delete
2828
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/

0 commit comments

Comments
 (0)