forked from mbatchkarov/amazon-transcribe-streaming-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (32 loc) · 707 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
[tox]
envlist = py37,py38,py39,py310
skipsdist = True
[testenv]
deps =
-r requirements-dev.txt
-e .
commands =
pytest --cov-config=.coveragerc --cov=./ --cov-report=xml tests/functional tests/unit
[testenv:lint]
deps =
-r requirements-dev.txt
commands =
black --check amazon_transcribe tests
flake8 amazon_transcribe
[testenv:type]
deps =
-r requirements-dev.txt
commands =
mypy amazon_transcribe --ignore-missing-imports
[testenv:full_tests]
passenv = AWS_*
deps =
-r requirements-dev.txt
-e .
commands =
pytest --cov-config=.coveragerc --cov=./ --cov-report=xml tests
[testenv:docs]
deps =
-r docs/requirements.txt
commands =
cd docs && make html