OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27,py35,py36,pypy,coverage,flake8 | 2 envlist = py27,py35,py36,pypy,coverage,flake8 |
3 | 3 |
| 4 [flake8] |
| 5 ignore = D107, N801, W503 |
| 6 |
4 [testenv] | 7 [testenv] |
5 deps = | 8 deps = |
6 pytest | 9 pytest |
7 mock | 10 mock |
8 commands = | 11 commands = |
9 py.test tests | 12 py.test tests |
10 | 13 |
11 [testenv:coverage] | 14 [testenv:coverage] |
12 deps = | 15 deps = |
13 pytest-cov | 16 pytest-cov |
14 mock | 17 mock |
15 commands = | 18 commands = |
16 py.test --cov=abp --cov-report=term-missing tests | 19 py.test --cov=abp --cov-report=term-missing tests |
17 | 20 |
18 # We have to install our package in development mode | 21 # We have to install our package in development mode |
19 # so that pytest-cov can find the .coverage file. | 22 # so that pytest-cov can find the .coverage file. |
20 usedevelop = true | 23 usedevelop = true |
21 | 24 |
22 [testenv:flake8] | 25 [testenv:flake8] |
23 basepython = python3 | 26 basepython = python3 |
24 skip_install = true | 27 skip_install = true |
25 deps = | 28 deps = |
26 flake8 | 29 flake8 |
27 flake8-docstrings | 30 flake8-docstrings |
28 flake8-commas | 31 flake8-commas |
29 pep8-naming | 32 pep8-naming |
30 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 33 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
31 commands = | 34 commands = |
32 flake8 --ignore=D107 abp | 35 flake8 abp |
33 flake8 --ignore=D1 tests setup.py | 36 flake8 --extend-ignore=D1 tests setup.py |
OLD | NEW |