forked from arrowhead-f/client-library-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (39 loc) · 720 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
[tox]
envlist = py37, py38, py39, docs
isolated_build = True
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
[flake8]
ignore = E501, E126, E127
[testenv]
changedir=tests
passenv=*
deps=
pytest
mypy
flake8
coverage
-rrequirements.txt
usedevelop=True
commands=
coverage run -m pytest
coverage report
coverage html
coverage xml
[testenv:py37]
typing-extensions>=3.7
[testenv:docs]
description = invoke sphinx-build to build the docs
basepython = python3.8
changedir = docs
deps =
pytest
-rdocs/source/requirements.txt
-rrequirements.txt
commands =
sphinx-build ./source ./build/html
sphinx-build ./source ./build/latex/ -b latex
make latexpdf