forked from gatoatigrado/vimap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (24 loc) · 639 Bytes
/
tox.ini
File metadata and controls
28 lines (24 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[tox]
envlist = py,lint
[flake8]
max-line-length = 100
[testenv:py]
deps = -rrequirements-dev.txt
# uncomment these to debug. pinned py 2.6 compatible versions
# ipython==1.1.0
# ipdb==0.8
commands = testify {posargs:tests --exclude-suite=disabled --summary}
[testenv:lint]
basepython = python2.7
deps = {[testenv:py]deps}
commands =
flake8 vimap
flake8 tests
# somehow broken: pylint -E vimap
[testenv:coverage]
deps = {[testenv:py]deps}
commands =
coverage erase
coverage run {envbindir}/testify {posargs:tests --exclude-suite=disabled}
coverage combine
coverage report -m --include='vimap/*' --omit=''