-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (35 loc) · 670 Bytes
/
tox.ini
File metadata and controls
41 lines (35 loc) · 670 Bytes
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
[tox]
envlist = py36,py37,py38,pypy3,docs,coverage
[testenv]
deps =
pyyaml
pytest
mock <= 1.0.1
flake8
typing-extensions
commands =
py.test {posargs:tests}
flake8 staticconf tests testing
[testenv:docs]
deps =
{[testenv]deps}
sphinx >= 1.0
sphinx_rtd_theme
changedir = docs
commands =
sphinx-build -b html -d build/doctrees source build/html
[testenv:coverage]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=staticconf {envbindir}/py.test tests
[testenv:mypy]
basepython = python3.7
deps =
mypy
typing-extensions
types-PyYAML
types-simplejson
commands =
mypy staticconf