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