forked from sqlalchemy-redshift/sqlalchemy-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (26 loc) · 623 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
[tox]
envlist = py{27,34,35,36,37}, lint, docs
[testenv]
passenv = PGPASSWORD
commands = py.test {posargs}
deps =
requests==2.7.0
psycopg2==2.7.3.2
sqlalchemy==1.3.0
pytest==3.10.1
alembic==1.4.2
packaging==20.4
[testenv:lint]
deps =
flake8==2.4.0
psycopg2
commands=flake8 sqlalchemy_redshift tests
[testenv:docs]
changedir=docs
deps=
-rrequirements-docs.txt
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[pytest]
addopts = --doctest-modules --doctest-glob='*.rst' --ignore=setup.py --ignore=docs/conf.py
doctest_optionflags = NORMALIZE_WHITESPACE