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 per-file-ignores = |
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 : A302, N802, A206 | 10 cms/converters.py : A302, N802, A206 |
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 runserver.spec : E501,F821 |
13 | 14 |
14 [testenv] | 15 [testenv] |
15 setenv = | 16 setenv = |
16 PYTHONPATH = {toxinidir} | 17 PYTHONPATH = {toxinidir} |
17 | 18 |
18 deps = | 19 deps = |
19 flask | 20 flask |
20 jinja2 | 21 jinja2 |
21 urllib3 | 22 urllib3 |
22 markdown | 23 markdown |
23 pytest | 24 pytest |
24 pytest-cov | 25 pytest-cov |
25 pytest-mock | 26 pytest-mock |
26 wsgi_intercept | 27 wsgi_intercept |
27 # flake8-putty is not yet compatible with flake8 3.0 | 28 flake8 |
28 flake8==2.* | 29 flake8-per-file-ignores |
29 flake8-putty | |
30 pep8-naming | 30 pep8-naming |
31 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 31 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
32 | 32 |
33 commands = | 33 commands = |
34 py.test --cov-report term --cov-report html --cov=cms tests | 34 py.test --cov-report term --cov-report html --cov=cms tests |
35 flake8 cms tests runserver.py | 35 flake8 cms tests runserver.py runserver.spec |
36 flake8 --ignore E501,F821,N802 runserver.spec | |
OLD | NEW |