-
Notifications
You must be signed in to change notification settings - Fork 184
/
tox.ini
40 lines (36 loc) · 892 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
[tox]
envlist = syntax, py{27,34,35,36,37,38}, docs
[testenv]
deps =
paramiko
-r{toxinidir}/tests/requirements.txt
commands =
py.test tests \
--showlocals \
--cov sshtunnel \
--cov-report=term \
--cov-report=html \
--durations=10 \
-n4 -W ignore::DeprecationWarning
[testenv:docs]
changedir = docs
deps =
paramiko
-r{toxinidir}/docs/requirements.txt
commands=
sphinx-build -WavE -b html -d {envtmpdir}/_build/doctrees . {envtmpdir}/_build/html
[testenv:syntax]
basepython = python
skip_install = True
deps =
-r{toxinidir}/tests/requirements-syntax.txt
commands =
check-manifest --ignore "tox.ini,tests*,*.yml"
python setup.py sdist
twine check dist/*
flake8 --ignore=W504
bashtest README.rst
[flake8]
exclude = .tox,*.egg,build,data,docs
select = E,W,F
max-complexity = 10