OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27 | 2 envlist = py27 |
3 skipsdist = true | 3 skipsdist = true |
4 | 4 |
5 [flake8] | 5 [flake8] |
6 putty-ignore = | 6 putty-ignore = |
7 cms/bin/generate_static_pages.py : A107,A301,A302,E501 | 7 cms/bin/generate_static_pages.py : A107,A301,A302,E501 |
8 cms/bin/test_server.py : A101,A107,A302,E501,F401 | 8 cms/bin/test_server.py : A101,A107,A302,E501,F401 |
9 cms/bin/translate.py : A107,A301,A302,E501,F821 | 9 cms/bin/translate.py : A107,A301,A302,E501,F821 |
10 cms/converters.py : A107,A108,A201,A206,A302,E501,E711,N802 | 10 cms/converters.py : A302, N802 |
11 cms/sources.py : A104,A107,A108,A206,A302,E501 | 11 cms/sources.py : A104,A107,A108,A206,A302,E501 |
12 cms/utils.py : A107,A302,E501 | 12 cms/utils.py : A107,A302,E501 |
13 | 13 |
14 [testenv] | 14 [testenv] |
15 setenv = | 15 setenv = |
16 PYTHONPATH = {toxinidir} | 16 PYTHONPATH = {toxinidir} |
17 | 17 |
18 deps = | 18 deps = |
19 flask | 19 flask |
20 pytest | 20 pytest |
21 jinja2 | 21 jinja2 |
22 urllib3 | 22 urllib3 |
23 markdown | 23 markdown |
24 pytest-mock | 24 pytest-mock |
25 wsgi_intercept | 25 wsgi_intercept |
26 # flake8-putty is not yet compatible with flake8 3.0 | 26 # flake8-putty is not yet compatible with flake8 3.0 |
27 flake8==2.* | 27 flake8==2.* |
28 flake8-putty | 28 flake8-putty |
29 pep8-naming | 29 pep8-naming |
30 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 30 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
31 | 31 |
32 commands = | 32 commands = |
33 py.test tests | 33 py.test tests |
34 flake8 cms tests runserver.py | 34 flake8 cms tests runserver.py |
35 flake8 --ignore E501,F821,N802 runserver.spec | 35 flake8 --ignore E501,F821,N802 runserver.spec |
OLD | NEW |