summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2016-02-08 16:25:27 -0500
committerCeridwen <ceridwenv@gmail.com>2016-02-08 16:25:27 -0500
commit4596201f9146e64c18cfcb0f841618328e953910 (patch)
treec15ab9fb26d6f156ddbac1705c0af7faf91c7530
parentd37b81de4f1e64abc2f222c487785d816ab469ea (diff)
downloadastroid-git-4596201f9146e64c18cfcb0f841618328e953910.tar.gz
Modify tox.ini to properly exclude files not part of astroid
-rw-r--r--tox.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 9f23d7ce..50169c8d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,8 +10,8 @@ commands = coverage erase
[testenv:coverage-stats]
commands =
- coverage report --ignore-errors --include="*astroid*"
- coverage html --ignore-errors --include="*astroid*"
+ coverage report --ignore-errors
+ coverage html --ignore-errors
[testenv]
deps =
@@ -31,5 +31,4 @@ deps =
# Disable warnings because they overflow the Travis log on 3.5
setenv = PYTHONWARNINGS = i
# {posargs} allows passing command line arguments to unittest
-commands = coverage run --append --branch -m unittest discover {posargs} -t {envsitepackagesdir}/astroid/ -s {envsitepackagesdir}/astroid/astroid/tests -p "unittest*.py"
-
+commands = coverage run --source {envsitepackagesdir}/astroid --append --branch -m unittest discover {posargs} -t {envsitepackagesdir}/astroid/ -s {envsitepackagesdir}/astroid/astroid/tests -p "unittest*.py"