OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27 | 2 envlist = py27 |
3 skipsdist = true | 3 skipsdist = true |
4 | 4 |
5 [flake8] | 5 [flake8] |
6 | 6 |
7 exclude = | 7 exclude = |
8 node_modules, | 8 node_modules, |
9 .tox, | 9 .tox, |
10 *.pyc, | 10 *.pyc, |
11 ignore = D1,C815 | 11 ignore = D1,C815,W504 |
12 per-file-ignores = | 12 per-file-ignores = |
13 /chainedconfigparser.py : A107,E501,D205,D208,D400 | 13 chainedconfigparser.py : A107,E501,D205,D208,D400 |
14 /ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721,F821 | 14 ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721,F821 |
15 /localeTools.py : A104,A107,A301,A302,E501,E713,F401,N802,N803,N806 | 15 localeTools.py : A104,A107,A301,A302,E501,E713,F401,N802,N803,N806,N813 |
16 /packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 | 16 packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806 |
17 /packagerChrome.py : A101,A104,A107,A112,A302,E501,E711,F841,N802,N803,N806 | 17 packagerChrome.py : A101,A104,A107,A112,A302,E501,E711,F841,N802,N803,N806,N
816 |
18 /publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N
802,N803 | 18 publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N8
02,N803 |
19 /releaseAutomation.py : A102,A107,A108,D202,D400,D401,E501,F401,N803,N806 | 19 releaseAutomation.py : A102,A107,A108,D202,D400,D401,E501,F401,N803,N806,N81
3 |
| 20 packagerEdge.py : N816,E117 |
| 21 build.py : N813 |
| 22 tests/test_packagerWebExt.py : F632 |
20 | 23 |
21 [coverage:run] | 24 [coverage:run] |
22 omit = tests/* | 25 omit = tests/* |
23 | 26 |
24 [coverage:report] | 27 [coverage:report] |
25 show_missing = True | 28 show_missing = True |
26 | 29 |
27 [testenv] | 30 [testenv] |
28 whitelist_externals = npm | 31 whitelist_externals = npm |
29 setenv = | 32 setenv = |
30 PYTHONPATH = {toxinidir}/.. | 33 PYTHONPATH = {toxinidir}/.. |
31 deps = | 34 deps = |
32 pycrypto | 35 pycrypto |
33 pytest | 36 pytest |
34 pytest-cov | 37 pytest-cov |
35 jinja2 | 38 jinja2 |
36 flake8 | 39 flake8>=3.7.0 |
37 flake8-per-file-ignores>=0.4 | |
38 flake8-docstrings | 40 flake8-docstrings |
39 flake8-commas | 41 flake8-commas |
40 pep8-naming | 42 pep8-naming |
41 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 43 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
42 commands = | 44 commands = |
43 npm install --no-package-lock --only=production | 45 npm install --no-package-lock --only=production |
44 pytest tests --capture=sys --cov=buildtools | 46 pytest tests --capture=sys --cov=buildtools |
45 flake8 | 47 flake8 |
OLD | NEW |