forked from Jajcus/python-alsa-midi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (40 loc) · 838 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
45
46
[tox]
isolated_build = true
envlist = py3,style
[testenv]
deps =
-rrequirements.txt
pytest
pytest-asyncio
passenv = PYTHONASYNCIODEBUG
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:nocompile]
basepython = python3
deps =
-rrequirements.txt
pytest
pytest-asyncio
setenv =
PY_ALSA_MIDI_NO_COMPILE=1
passenv = PYTHONASYNCIODEBUG
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:style]
basepython = python3
skip_install = true
deps =
flake8==3.8.3
flake8-junit-report==2.1.0
isort==5.10.1
commands =
flake8 alsa_midi tests examples
isort --check --dont-follow-links alsa_midi tests
[testenv:doc]
basepython = python3
skip_install = true
deps =
-rdocs/requirements.txt
allowlist_externals = make
commands =
make -C docs html
[flake8]
max-line-length=99