Skip to content

Commit

Permalink
coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
alimanfoo committed Jul 25, 2018
1 parent 8541a1f commit bc72f3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
exclude_lines =
pragma: no cover
pragma: ${PY_MAJOR_VERSION} no cover
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ indexserver =
# get stable output for unordered types
setenv =
PYTHONHASHSEED = 42
py34,py35,py36: PY_MAJOR_VERSION = py3
py27: PY_MAJOR_VERSION = py2
commands =
nosetests -v petl --with-coverage --cover-package=petl
py36: nosetests -v --with-doctest --doctest-options=+NORMALIZE_WHITESPACE petl/io -Icsv_py2 -Idb -Inumpy -Ipandas -Ipytables -Iwhoosh -Ibcolz
Expand Down

0 comments on commit bc72f3e

Please sign in to comment.