-
Notifications
You must be signed in to change notification settings - Fork 184
/
tox.ini
45 lines (38 loc) · 820 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
[tox]
envlist =
test,
lint,
docs,
skip_missing_interpreters = True
isolated_build = True
[testenv:test]
description = test
basepython = python3
deps =
-rrequirements.txt
-rtest-requirements.txt
commands =
nosetests -v -l DEBUG --logging-level=DEBUG --with-coverage --cover-package=flask_apscheduler
skip_install = true
[testenv:lint]
basepython = python3
description = check code style
deps =
-rdev-requirements.txt
commands =
black examples
isort examples --profile="black"
flake8 examples
pylint examples
skip_install = true
[testenv:docs]
basepython = python3
description = update documentation
changedir = docs
deps =
-rdocs-requirements.txt
commands = sphinx-build -E -b html . _build
skip_install = true
setenv =
PYTHONDONTWRITEBYTECODE=1
DEBUG=False