| 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 test from all files. |
| 8 python_files = *.py | 8 python_files = *.py |
| 9 | 9 |
| 10 [run] | 10 [run] |
| 11 # Exclude tests from coverage. | 11 # Exclude test from coverage. |
| 12 omit = */test/* | 12 omit = */test/* |
| 13 | 13 |
| 14 [flake8] | 14 [flake8] |
| 15 ignore = D1 | 15 ignore = D1 |
| 16 per-file-ignores = | 16 per-file-ignores = |
| 17 /sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 | 17 /sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 |
| 18 /sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 | 18 /sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 |
| 19 /sitescripts/crawler/bin/import_sites.py : A105,A206,E501 | 19 /sitescripts/crawler/bin/import_sites.py : A105,A206,E501 |
| 20 /sitescripts/crawler/web/crawler.py : A107,A108,A206,E501 | 20 /sitescripts/crawler/web/crawler.py : A107,A108,A206,E501 |
| 21 /sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,D2
00,D202,D205,D208,D400,D401,D403,E501,E722,F841,N802,N806,N812 | 21 /sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,D2
00,D202,D205,D208,D400,D401,D403,E501,E722,F841,N802,N806,N812 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 wsgi_intercept | 89 wsgi_intercept |
| 90 jinja2 | 90 jinja2 |
| 91 pycrypto | 91 pycrypto |
| 92 pysed | 92 pysed |
| 93 flake8 | 93 flake8 |
| 94 flake8-per-file-ignores>=0.4 | 94 flake8-per-file-ignores>=0.4 |
| 95 flake8-docstrings | 95 flake8-docstrings |
| 96 flake8-commas | 96 flake8-commas |
| 97 pep8-naming | 97 pep8-naming |
| 98 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 98 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
| 99 httplib2 |
| 100 oauth2client |
| 99 | 101 |
| 100 setenv = | 102 setenv = |
| 101 SITESCRIPTS_CONFIG = ./.sitescripts.test | 103 SITESCRIPTS_CONFIG = ./.sitescripts.test |
| 102 whitelist_externals = cp | 104 whitelist_externals = cp |
| 103 commands = | 105 commands = |
| 104 cp .sitescripts.example .sitescripts.test | 106 cp .sitescripts.example .sitescripts.test |
| 105 pysed \ | 107 pysed \ |
| 106 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 108 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
| 107 '' .sitescripts.test --write | 109 '' .sitescripts.test --write |
| 108 python ensure_dependencies.py | 110 python ensure_dependencies.py |
| 109 py.test \ | 111 py.test \ |
| 110 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ | 112 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ |
| 111 sitescripts/hg/test \ | 113 sitescripts/hg/test \ |
| 112 sitescripts/notifications/test \ | 114 sitescripts/notifications/test \ |
| 113 sitescripts/stats/test \ | 115 sitescripts/stats/test \ |
| 114 sitescripts/formmail/test \ | 116 sitescripts/formmail/test \ |
| 115 sitescripts/extensions/test \ | 117 sitescripts/extensions/test \ |
| 116 sitescripts/subscriptions/test \ | 118 sitescripts/subscriptions/test \ |
| 117 » sitescripts/reports/tests \ | 119 » sitescripts/reports/tests \ |
| 120 sitescripts/oauth2dl/test/test_oauth2dl.py \ |
| 118 tests | 121 tests |
| 119 flake8 sitescripts multiplexer.py multiplexer.fcgi | 122 flake8 sitescripts multiplexer.py multiplexer.fcgi |
| OLD | NEW |