forked from influxdata/influxdb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 1011 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
[tox]
envlist = py34, py27, py26, pypy, flake8
[testenv]
passenv = INFLUXDB_PYTHON_INFLUXD_PATH
setenv = INFLUXDB_PYTHON_SKIP_SERVER_TESTS=False
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
py27,py32,py33,py34,py26: pandas
py26: unittest2
# Only install pandas with non-pypy interpreters
commands = nosetests -v --with-doctest {posargs}
[testenv:flake8]
deps =
flake8
pep8-naming
commands = flake8 influxdb
[testenv:coverage]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pandas
coverage
commands = nosetests -v --with-coverage --cover-html --cover-package=influxdb
[testenv:docs]
deps = -r{toxinidir}/requirements.txt
pandas
Sphinx==1.2.3
sphinx_rtd_theme
commands = sphinx-build -b html docs/source docs/build
[flake8]
ignore = N802,F821,E402
# E402: module level import not at top of file
# N802: nosetests's setUp function
# F821: False positive in intluxdb/dataframe_client.py