forked from mopidy/mopidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (29 loc) · 805 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
[tox]
envlist = py37, py38, py39, check-manifest, docs, flake8, mypy
[testenv]
sitepackages = true
deps = .[test]
commands =
python -m pytest \
--basetemp={envtmpdir} \
--cov=mopidy --cov-report=term-missing \
{posargs}
[testenv:check-manifest]
deps = .[lint]
commands = python -m check_manifest
[testenv:docs]
deps = .[docs]
changedir = docs
commands = python -m sphinx -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
deps = .[lint]
commands = python -m flake8 --show-source --statistics
[testenv:linkcheck]
deps = .[docs]
changedir = docs
commands = python -m sphinx -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:mypy]
deps =
.[lint]
tornado >= 6 # First version to ship type information
commands = python -m mypy mopidy