Index: tox.ini |
=================================================================== |
--- a/tox.ini |
+++ b/tox.ini |
@@ -3,24 +3,31 @@ |
skipsdist = true |
[flake8] |
putty-ignore = |
build.py : A102,A104,A107,A201,A206,A302,E501,E711,F401,N802,N803,N806 |
chainedconfigparser.py : A107,E501 |
ensure_dependencies.py : A102,A107,A108,A302,E129,E501,E713,E721,F821 |
localeTools.py : A103,A104,A107,A108,A206,A301,A302,E129,E501,E711,E713,F401,F812,N802,N803,N806 |
- packager.py : A102,A107,A206,A302,E501,E711,F401,N802,N803,N806 |
+ packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 |
packagerChrome.py : A101,A104,A105,A107,A108,A111,A112,A302,E129,E501,E711,E713,E731,F401,F841,N802,N803,N806 |
packagerGecko.py : A101,A104,A105,A107,A108,A201,A302,E501,E711,E713,F401,N802,N803,N806 |
packagerSafari.py : A101,A107,A301,A302,E501,N802,N803,N806 |
publicSuffixListUpdater.py : A108,E501,F821,N802,N803 |
releaseAutomation.py : A102,A107,A108,A302,E501,F401,N803,N806 |
[testenv] |
+setenv = |
+ PYTHONPATH = {toxinidir}/.. |
deps = |
+ pytest |
+ pytest-mock |
+ jinja2 |
# flake8-putty is not yet compatible with flake8 3.0 |
flake8==2.* |
flake8-putty |
pep8-naming |
hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp |
commands = |
+ python ensure_dependencies.py |
+ py.test tests |
flake8 --exclude jshydra |