Skip to content

Commit

Permalink
Dont include kafka.vendor in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dpkp committed Aug 4, 2016
1 parent c061b9b commit 8d19cae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .covrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
kafka/vendor/*
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ deps =
xxhash
py26: unittest2
commands =
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka}
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka --cov-config=.covrc}
setenv =
PROJECT_ROOT = {toxinidir}
passenv = KAFKA_VERSION

[testenv:py26]
# pylint doesn't support python2.6
commands = py.test {posargs:--cov=kafka}
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}

[testenv:pypy]
# pylint is super slow on pypy...
commands = py.test {posargs:--cov=kafka}
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}

[testenv:docs]
deps =
Expand Down

0 comments on commit 8d19cae

Please sign in to comment.