Skip to content

Commit

Permalink
Ignore migrations from coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed May 24, 2018
1 parent 0765391 commit c55322d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
*/**/migrations/*
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ deps =
whitelist_externals = echo
commands =
py.test --disable-pytest-warnings \
--cov-report=term --cov-report=html --cov=. {posargs}
--cov-report=term --cov-report=html --cov-config {toxinidir}/.coveragerc --cov=. {posargs}
echo Annotated HTML coverage report is in {toxinidir}/readthedocs/htmlcov/index.html

0 comments on commit c55322d

Please sign in to comment.