OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27 | 2 envlist = py27 |
3 skipsdist = true | 3 skipsdist = true |
4 | 4 |
5 [pytest] | 5 [pytest] |
6 # The names of the test files here don't start with 'test_' so we need | 6 # The names of the test files here don't start with 'test_' so we need |
7 # to instruct pytest to load tests from all files. | 7 # to instruct pytest to load tests from all files. |
8 python_files = *.py | 8 python_files = *.py |
9 | 9 |
10 [run] | 10 [run] |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 multiplexer.py : A107,E501 | 73 multiplexer.py : A107,E501 |
74 | 74 |
75 [testenv] | 75 [testenv] |
76 basepython=python2 | 76 basepython=python2 |
77 deps = | 77 deps = |
78 pytest | 78 pytest |
79 pytest-cov | 79 pytest-cov |
80 mock | 80 mock |
81 jinja2 | 81 jinja2 |
82 pysed | 82 pysed |
83 flake8 | 83 # flake8-putty is not yet compatible with flake8 3.0 |
| 84 flake8==2.* |
84 flake8-putty | 85 flake8-putty |
85 pep8-naming | 86 pep8-naming |
86 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp | 87 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp |
87 | 88 |
88 setenv = | 89 setenv = |
89 SITESCRIPTS_CONFIG = ./.sitescripts.test | 90 SITESCRIPTS_CONFIG = ./.sitescripts.test |
90 whitelist_externals = cp | 91 whitelist_externals = cp |
91 commands = | 92 commands = |
92 cp .sitescripts.example .sitescripts.test | 93 cp .sitescripts.example .sitescripts.test |
93 pysed \ | 94 pysed \ |
94 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 95 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
95 '' .sitescripts.test --write | 96 '' .sitescripts.test --write |
96 python ensure_dependencies.py | 97 python ensure_dependencies.py |
97 py.test \ | 98 py.test \ |
98 --cov-config tox.ini --cov-report term --cov sitescripts \ | 99 --cov-config tox.ini --cov-report term --cov sitescripts \ |
99 sitescripts/hg/test \ | 100 sitescripts/hg/test \ |
100 sitescripts/notifications/test \ | 101 sitescripts/notifications/test \ |
101 sitescripts/stats/test | 102 sitescripts/stats/test |
102 flake8 sitescripts multiplexer.py multiplexer.fcgi | 103 flake8 sitescripts multiplexer.py multiplexer.fcgi |
OLD | NEW |