-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (41 loc) · 1.04 KB
/
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
47
48
49
50
[tox]
# Until there are real units, with mocked last.fm network, test only one version
envlist = py38
[default]
python = python3.8
[testenv:default]
basepython = {[default]python}
[testenv:clean]
skipsdist = true
skip_install = true
commands = coverage erase
[testenv]
commands = pytest {posargs:--verbose ./test}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements/test.txt
[testenv:pypy3]
commands = pip uninstall -y pytest-testmon
pytest {posargs:--verbose ./test}
[testenv:coverage]
basepython = {[default]python}
commands =
coverage run --rcfile=setup.cfg --source ./topfm -m \
pytest {posargs:--verbose ./test}
coverage report --rcfile=setup.cfg
coverage html --rcfile=setup.cfg
[testenv:lint]
deps = flake8
skipsdist = true
commands = flake8 ./eyed3
[testenv:check-manifest]
deps = check-manifest
commands = check-manifest
[testenv:requirements]
deps =
nicfit.py
pip-tools
skipsdist = true
commands =
nicfit requirements
pip-compile -U requirements.txt -o ./requirements.txt