Index: tox.ini |
diff --git a/tox.ini b/tox.ini |
index f79f0494d5b73efcff10242414862a6f75352f6c..dc6c8ac2faa4e9316ef98845f020cc2b160a3cd8 100644 |
--- a/tox.ini |
+++ b/tox.ini |
@@ -7,19 +7,26 @@ ignore = D1 |
per-file-ignores = |
build.py : A102,A104,A107,A201,A206,A302,E501,E711,N802,N803,N806 |
chainedconfigparser.py : A107,E501,D205,D208,D400 |
- ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721,F821 |
+ ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721 |
localeTools.py : A103,A104,A107,A301,A302,E501,E713,F401,N802,N803,N806 |
packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 |
packagerChrome.py : A101,A104,A107,A111,A112,A302,E501,E711,F841,N802,N803,N806 |
publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N802,N803 |
releaseAutomation.py : A102,A107,A108,A302,D202,D400,D401,E501,F401,N803,N806 |
- tests/test_packagerEdge.py : D401 |
+ |
+[coverage:run] |
+omit = tests/* |
+ |
+[coverage:report] |
+show_missing = True |
[testenv] |
setenv = |
PYTHONPATH = {toxinidir}/.. |
deps = |
+ pycrypto |
pytest |
+ pytest-cov |
jinja2 |
flake8 |
flake8-per-file-ignores |
@@ -27,5 +34,6 @@ deps = |
pep8-naming |
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
commands = |
- py.test tests |
+ python ensure_dependencies.py --nodejs-only |
+ pytest tests --capture=sys --cov=buildtools |
flake8 |