Index: tox.ini |
=================================================================== |
--- a/tox.ini |
+++ b/tox.ini |
@@ -7,16 +7,24 @@ |
cms/bin/generate_static_pages.py : A107,A301,A302,E501 |
cms/bin/test_server.py : A101,A107,A302,E501,F401 |
cms/bin/translate.py : A107,A301,A302,E501,F821 |
cms/converters.py : A107,A108,A201,A206,A302,E501,E711,N802 |
cms/sources.py : A104,A107,A108,A206,A302,E501 |
cms/utils.py : A107,A302,E501 |
[testenv] |
+setenv = |
+ PYTHONPATH = {toxinidir} |
+ |
deps = |
+ pytest |
+ jinja2 |
+ markdown |
flake8 |
flake8-putty |
pep8-naming |
hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp |
+ |
commands = |
+ py.test tests |
flake8 cms runserver.py |
Sebastian Noack
2016/08/21 14:33:09
Mind running flake8 also on the tests directory?
|
flake8 --ignore E501,F821,N802 runserver.spec |