forked from mir-dataset-loaders/mirdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (27 loc) · 742 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
[tox]
envlist = py36,py37,py38,check-formatting,mypy
[testenv]
passenv = CIRCLECI CIRCLE_* CI_PULL_REQUEST
extras =
tests
dali
compmusic_carnatic_rhythm
haydn_op20
compmusic_hindustani_rhythm
commands =
pytest --cov-report=xml --cov=mirdata {toxinidir}/tests/ {posargs}
[testenv:check-formatting]
basepython=python3.8
deps = black
commands =
black --check --target-version py38 {toxinidir}/mirdata {toxinidir}/tests
[testenv:format]
basepython=python3.8
deps = black
commands =
black --target-version py38 {toxinidir}/mirdata {toxinidir}/tests
[testenv:mypy]
basepython=python3.8
deps = mypy>=0.910
commands =
mypy --install-types --non-interactive {toxinidir}/mirdata --ignore-missing-imports --allow-subclassing-any