Skip to content

Commit

Permalink
Added .coveragerc and branch coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualSatai committed Sep 29, 2017
1 parent 60df121 commit df0b2f0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
branch = True
omit =
.tox/*
fabfile.py
manage.py
setup.py
*/migrations/*
treo/wsgi.py
*/apps.py
source = .
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ db.sqlite3
MANIFEST/

.coverage
htmlcov/
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deps =
-rrequirements.txt
py27: mock==2.0.0
commands =
coverage run --source "." --omit ".tox/*" {toxinidir}/manage.py test
coverage run {toxinidir}/manage.py test

[testenv:flake8]
deps =
Expand Down

0 comments on commit df0b2f0

Please sign in to comment.