| 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 test 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 test from coverage. | 11 # Exclude test from coverage. |
| 12 omit = */test/* | 12 omit = */test/* |
| 13 | 13 |
| 14 [flake8] | 14 [flake8] |
| 15 ignore = D1 | |
| 16 per-file-ignores = | 15 per-file-ignores = |
| 17 /sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 | 16 /sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 |
| 18 /sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 | 17 /sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 |
| 19 /sitescripts/crawler/bin/import_sites.py : A105,A206,E501 | 18 /sitescripts/crawler/bin/import_sites.py : A105,A206,E501 |
| 20 /sitescripts/crawler/web/crawler.py : A107,A108,A206,E501 | 19 /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,W504 | 20 /sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,D2
00,D202,D205,D208,D400,D401,D403,E501,E722,F841,N802,N806,N812,W504 |
| 22 /sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,D200,D202,D
205,D400,D401,D403,E501,N802,N806 | 21 /sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,D200,D202,D
205,D400,D401,D403,E501,N802,N806 |
| 23 /sitescripts/extensions/test/conftest.py : D200,D400 | 22 /sitescripts/extensions/test/conftest.py : D200,D400 |
| 24 /sitescripts/extensions/test/test_createNightlies.py : D400 | 23 /sitescripts/extensions/test/test_createNightlies.py : D400 |
| 25 /sitescripts/extensions/test/test_updateManifests.py : D401 | 24 /sitescripts/extensions/test/test_updateManifests.py : D401 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 deps = | 76 deps = |
| 78 cryptography | 77 cryptography |
| 79 pytest | 78 pytest |
| 80 pytest-cov | 79 pytest-cov |
| 81 mock | 80 mock |
| 82 pytest-mock | 81 pytest-mock |
| 83 wsgi_intercept | 82 wsgi_intercept |
| 84 jinja2 | 83 jinja2 |
| 85 pycrypto | 84 pycrypto |
| 86 pysed | 85 pysed |
| 87 flake8 | |
| 88 flake8-per-file-ignores>=0.4 | |
| 89 flake8-docstrings | |
| 90 flake8-commas | |
| 91 pep8-naming | |
| 92 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | |
| 93 httplib2 | 86 httplib2 |
| 94 oauth2client | 87 oauth2client |
| 88 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
| 89 flake8-per-file-ignores>=0.4 |
| 95 | 90 |
| 96 setenv = | 91 setenv = |
| 97 SITESCRIPTS_CONFIG = ./.sitescripts.test | 92 SITESCRIPTS_CONFIG = ./.sitescripts.test |
| 98 whitelist_externals = cp | 93 whitelist_externals = cp |
| 99 commands = | 94 commands = |
| 100 cp .sitescripts.example .sitescripts.test | 95 cp .sitescripts.example .sitescripts.test |
| 101 pysed \ | 96 pysed \ |
| 102 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 97 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
| 103 '' .sitescripts.test --write | 98 '' .sitescripts.test --write |
| 104 python ensure_dependencies.py | 99 python ensure_dependencies.py |
| 105 py.test \ | 100 py.test \ |
| 106 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ | 101 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ |
| 107 tests \ | 102 tests \ |
| 108 sitescripts/hg/test \ | 103 sitescripts/hg/test \ |
| 109 sitescripts/notifications/test \ | 104 sitescripts/notifications/test \ |
| 110 sitescripts/formmail/test \ | 105 sitescripts/formmail/test \ |
| 111 sitescripts/extensions/test \ | 106 sitescripts/extensions/test \ |
| 112 sitescripts/subscriptions/test \ | 107 sitescripts/subscriptions/test \ |
| 113 sitescripts/reports/tests \ | 108 sitescripts/reports/tests \ |
| 114 sitescripts/oauth2dl/test | 109 sitescripts/oauth2dl/test |
| 115 flake8 sitescripts multiplexer.py multiplexer.fcgi | 110 flake8 sitescripts multiplexer.py multiplexer.fcgi |
| OLD | NEW |