Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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 ignore = D1 |
7 build.py : A102,A104,A107,A201,A206,A302,E501,E711,F401,N802,N803,N806 | 7 per-file-ignores = |
8 chainedconfigparser.py : A107,E501 | 8 build.py : A104,A107,A201,A206,A302,E501,E711,N802,N803,N806 |
9 ensure_dependencies.py : A102,A107,A108,A302,E129,E501,E713,E721,F821 | 9 chainedconfigparser.py : A107,E501,D205,D208,D400 |
10 localeTools.py : A103,A104,A107,A108,A206,A301,A302,E129,E501,E711,E713,F401 ,F812,N802,N803,N806 | 10 ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721,F821 |
11 localeTools.py : A104,A107,A301,A302,E501,E713,F401,N802,N803,N806 | |
11 packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 | 12 packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 |
12 packagerChrome.py : A101,A104,A105,A107,A108,A111,A112,A302,E129,E501,E711,E 713,E731,F401,F841,N802,N803,N806 | 13 packagerChrome.py : A101,A104,A107,A111,A112,A302,E501,E711,F841,N802,N803,N 806 |
13 packagerGecko.py : A101,A104,A105,A107,A108,A201,A302,E501,E711,E713,F401,N8 02,N803,N806 | 14 publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N8 02,N803 |
14 packagerSafari.py : A101,A107,A301,A302,E501,N802,N803,N806 | 15 releaseAutomation.py : A102,A107,A108,A302,D202,D400,D401,E501,F401,N803,N80 6 |
15 publicSuffixListUpdater.py : A108,E501,F821,N802,N803 | 16 |
16 releaseAutomation.py : A102,A107,A108,A302,E501,F401,N803,N806 | 17 [coverage:run] |
18 omit = tests/* | |
19 | |
20 [coverage:report] | |
21 show_missing = True | |
17 | 22 |
18 [testenv] | 23 [testenv] |
24 whitelist_externals = npm | |
19 setenv = | 25 setenv = |
20 PYTHONPATH = {toxinidir}/.. | 26 PYTHONPATH = {toxinidir}/.. |
21 deps = | 27 deps = |
22 pycrypto | 28 pycrypto |
23 pillow | |
Sebastian Noack
2017/08/14 15:20:12
The README (in adblockpluschrome) lists PIL (not P
tlucas
2017/09/06 09:04:52
Got rid of PIL / pillow dependency completely (by
Sebastian Noack
2017/09/06 18:00:00
Well, the make_icons() function in packagerChrome.
Vasily Kuznetsov
2017/09/07 20:27:50
Guys! Writing your own image format parser is rath
Sebastian Noack
2017/09/07 20:39:00
Well, all we need at the current point, is extract
Sebastian Noack
2017/09/08 21:07:12
It is related to the tests, as it simplifies the t
Vasily Kuznetsov
2017/09/11 12:50:06
Seems like your proposal would work fine and it's
| |
24 pytest | 29 pytest |
25 pytest-cov | 30 pytest-cov |
26 jinja2 | 31 jinja2 |
27 # flake8-putty is not yet compatible with flake8 3.0 | 32 flake8 |
28 flake8==2.* | 33 flake8-per-file-ignores |
29 flake8-putty | 34 flake8-docstrings |
30 pep8-naming | 35 pep8-naming |
31 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo | 36 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo |
32 commands = | 37 commands = |
33 pytest tests --capture=sys --cov=buildtools --cov-report=term-missing | 38 npm install --no-package-lock --only=production |
39 pytest tests --capture=sys --cov=buildtools | |
34 flake8 | 40 flake8 |
LEFT | RIGHT |