forked from colonelpanic8/okcupyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (47 loc) · 962 Bytes
/
tox.ini
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
envlist = py34, py27
recreate = False
[testenv]
downloadcache = {homedir}/.pipcache
changedir = tests
deps =
contextlib2
coverage
ipdb
mock
pytest
pytest-sugar
vcrpy >= 1.1.4
commands = py.test {posargs}
[testenv:venv]
changedir = .
deps =
ipdb
commands = {posargs}
[testenv:venv3]
changedir = .
basepython = python3
deps =
ipdb
commands = {posargs}
[testenv:lint]
basepython = python2.7
deps = pylint
commands =
pylint okcupyd --rcfile=pylint.rc --disable=missing-docstring --disable=superfluous-parens
pylint tests --rcfile=pylint.rc --disable=missing-docstring --disable=superfluous-parens
[testenv:coverage]
deps =
pytest-cov
{[testenv]deps}
commands = py.test --cov okcupyd --cov-report term-missing
[testenv:docs]
basepython=python
changedir=docs
deps=
sphinx
sphinx_rtd_theme
Pygments
commands=
touch "index.rst"
make {posargs}