forked from pallets-eco/flask-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 844 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
[tox]
envlist =
py{27,34,35,36}-WTForms{1,2}
flake8
docs-html
skipsdist = true
skip_missing_interpreters = true
[flake8]
max_line_length = 120
ignore = E402,E722,W504
[testenv]
setenv =
AZURE_STORAGE_CONNECTION_STRING = DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;
usedevelop = true
deps =
WTForms1: WTForms==1.0.5
WTForms2: WTForms>=2.0
-r{toxinidir}/requirements-dev.txt
commands =
nosetests flask_admin/tests --with-coverage --cover-erase --cover-inclusive
[testenv:flake8]
deps = flake8
commands = flake8 flask_admin
[testenv:docs-html]
deps =
sphinx
sphinx-intl
commands = sphinx-build -b html -d build/doctrees doc build/html