Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: tox.ini

Issue 29465720: Issue 4970 - Document the library API of python-abp (Closed)
Left Patch Set: Improve the docstrings and help() behavior, shorten the README, add Development documentation and a… Created Oct. 10, 2017, 4:25 p.m.
Right Patch Set: Rebase to match the new master and retouche the docstrings. Created Oct. 24, 2017, 4:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« tests/test_render_script.py ('K') | « tests/test_web_source.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 [tox] 1 [tox]
2 envlist = py27, py35, py36, pypy, qa 2 envlist = py27,py35,py36,pypy,coverage,flake8
3 3
4 [testenv] 4 [testenv]
5 deps = 5 deps =
6 pytest 6 pytest
7 mock 7 mock
8 commands = 8 commands =
9 pytest tests 9 py.test tests
10 10
11 [testenv:qa] 11 [testenv:coverage]
12 basepython = python3
13 deps = 12 deps =
14 pytest-cov 13 pytest-cov
15 mock 14 mock
15 commands =
16 py.test --cov=abp --cov-report=term-missing tests
17
18 # We have to install our package in development mode
19 # so that pytest-cov can find the .coverage file.
20 usedevelop = true
21
22 [testenv:flake8]
23 basepython = python3
24 skip_install = true
25 deps =
16 flake8 26 flake8
17 flake8-docstrings 27 flake8-docstrings
18 pep8-naming 28 pep8-naming
19 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 29 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo
20 commands = 30 commands =
21 pytest --cov=abp --cov-report=term-missing tests
22 flake8 --ignore=D107 abp 31 flake8 --ignore=D107 abp
23 flake8 --ignore=D1 tests setup.py 32 flake8 --ignore=D1 tests setup.py
24
25 # We have to install the package in development mode
26 # so that pytest-cov can find the .coverage file.
27 usedevelop = true
LEFTRIGHT

Powered by Google App Engine
This is Rietveld