Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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] |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
70 /sitescripts/subscriptions/test/test_updateMalwareDomainsList.py : D400,D401 | 70 /sitescripts/subscriptions/test/test_updateMalwareDomainsList.py : D400,D401 |
71 /sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N 806 | 71 /sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N 806 |
72 /sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N8 03,N806 | 72 /sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N8 03,N806 |
73 /sitescripts/testpages/web/sitekey_frame.py : A107 | 73 /sitescripts/testpages/web/sitekey_frame.py : A107 |
74 /sitescripts/urlfixer/bin/forceDomains.py : A206,D205,D400,E501,N802 | 74 /sitescripts/urlfixer/bin/forceDomains.py : A206,D205,D400,E501,N802 |
75 /sitescripts/urlfixer/bin/topDomains.py : A206,D205,D400,E501,E711,F401,N802 | 75 /sitescripts/urlfixer/bin/topDomains.py : A206,D205,D400,E501,E711,F401,N802 |
76 /sitescripts/urlfixer/web/submitData.py : A206,E501,E711,F401,F841,N802,N806 | 76 /sitescripts/urlfixer/web/submitData.py : A206,E501,E711,F401,F841,N802,N806 |
77 /sitescripts/utils.py : A107,A301,D200,D202,D205,D208,D400,D401,E501,N801,N8 02,N806 | 77 /sitescripts/utils.py : A107,A301,D200,D202,D205,D208,D400,D401,E501,N801,N8 02,N806 |
78 /sitescripts/web.py : A107,E501,N802 | 78 /sitescripts/web.py : A107,E501,N802 |
79 /multiplexer.py : A107,E501 | 79 /multiplexer.py : A107,E501 |
80 /sitescripts/oauth2dl/bin/oauth2dl.py: D413, E501, A301 | |
Vasily Kuznetsov
2018/07/20 21:00:01
It would be better not to add exceptions for new c
Tudor Avram
2018/07/31 09:20:18
Done.
| |
81 /sitescripts/oauth2dl/test/test_oauth2dl.py: A110 | |
82 sitescripts/oauth2dl/utils/dummy_wsgi_app.py: A206 | |
83 | 80 |
84 [testenv] | 81 [testenv] |
85 basepython=python2 | 82 basepython=python2 |
86 deps = | 83 deps = |
87 cryptography | 84 cryptography |
88 pytest | 85 pytest |
89 pytest-cov | 86 pytest-cov |
90 mock | 87 mock |
91 pytest-mock | 88 pytest-mock |
92 wsgi_intercept | 89 wsgi_intercept |
93 jinja2 | 90 jinja2 |
94 pycrypto | 91 pycrypto |
95 pysed | 92 pysed |
96 flake8 | 93 flake8 |
97 flake8-per-file-ignores>=0.4 | 94 flake8-per-file-ignores>=0.4 |
98 flake8-docstrings | 95 flake8-docstrings |
99 flake8-commas | 96 flake8-commas |
100 pep8-naming | 97 pep8-naming |
101 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 |
102 httplib2 | 99 httplib2 |
Vasily Kuznetsov
2018/07/20 21:00:01
Do we need httplib2 for the new script? Do Google
Tudor Avram
2018/07/23 19:29:03
Yeah, the google library requires an `httplib2.Htt
Tudor Avram
2018/07/31 09:20:19
Done.
| |
103 oauth2client | 100 oauth2client |
104 | 101 |
105 setenv = | 102 setenv = |
106 SITESCRIPTS_CONFIG = ./.sitescripts.test | 103 SITESCRIPTS_CONFIG = ./.sitescripts.test |
107 whitelist_externals = cp | 104 whitelist_externals = cp |
108 commands = | 105 commands = |
109 cp .sitescripts.example .sitescripts.test | 106 cp .sitescripts.example .sitescripts.test |
110 pysed \ | 107 pysed \ |
111 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 108 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
112 '' .sitescripts.test --write | 109 '' .sitescripts.test --write |
113 python ensure_dependencies.py | 110 python ensure_dependencies.py |
114 py.test \ | 111 py.test \ |
115 --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 \ |
116 sitescripts/hg/test \ | 113 sitescripts/hg/test \ |
117 sitescripts/notifications/test \ | 114 sitescripts/notifications/test \ |
118 sitescripts/stats/test \ | 115 sitescripts/stats/test \ |
119 sitescripts/formmail/test \ | 116 sitescripts/formmail/test \ |
120 sitescripts/extensions/test \ | 117 sitescripts/extensions/test \ |
121 sitescripts/subscriptions/test \ | 118 sitescripts/subscriptions/test \ |
122 » sitescripts/reports/tests \ | 119 » sitescripts/reports/tests \ |
123 sitescripts/oauth2dl/test/test_oauth2dl.py \ | 120 sitescripts/oauth2dl/test/test_oauth2dl.py \ |
Vasily Kuznetsov
2018/07/20 21:00:01
Would be neater to keep consistent indentation.
Tudor Avram
2018/07/23 19:29:03
Acknowledged.
Tudor Avram
2018/07/31 09:20:18
Done.
| |
124 tests | 121 tests |
125 flake8 sitescripts multiplexer.py multiplexer.fcgi | 122 flake8 sitescripts multiplexer.py multiplexer.fcgi |
LEFT | RIGHT |