Skip to content

Commit

Permalink
coverage will ignore minepybs.py for now, it's just a bunch of code t…
Browse files Browse the repository at this point in the history
…hat's

not going to be there in the final release.
  • Loading branch information
arruda committed Dec 8, 2014
1 parent f64323d commit 8f0b2fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[run]
source = minepybs
omit =
*__init__.py
*minepybs.py

#[report]
#exclude_lines =
# pragma: no cover
# if __name__ == .__main__.
# if settings.DEBUG
# if self.debug
# def __repr__
# def __str__
# def __unicode__
show_missing = True
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test-all:
tox

coverage:
coverage run --source minepybs setup.py test
coverage run setup.py test
coverage report -m
coverage html
open htmlcov/index.html
Expand Down

0 comments on commit 8f0b2fd

Please sign in to comment.