forked from soundata/soundata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (23 loc) · 643 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
[tox]
envlist = py36,py37,py38,check-formatting,mypy
[testenv]
passenv = CIRCLECI,CIRCLE_*,CI_PULL_REQUEST
extras =
tests
commands =
pytest --cov-report term-missing --cov-report=xml --cov=soundata {toxinidir}/tests/
[testenv:check-formatting]
basepython=python3.8
deps = black
commands =
black --check --target-version py38 {toxinidir}/soundata {toxinidir}/tests
[testenv:format]
basepython=python3.8
deps = black
commands =
black --target-version py38 {toxinidir}/soundata {toxinidir}/tests
[testenv:mypy]
basepython=python3.8
deps = mypy
commands =
mypy {toxinidir}/soundata --ignore-missing-imports --allow-subclassing-any