forked from acroz/pylivy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (35 loc) · 685 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
[tox]
envlist = py{36,37,38,39}{,-integration}, flake8, mypy, black, docs
[testenv]
sitepackages = False
deps =
pytest
pytest-mock
requests_mock
commands =
!integration: pytest {posargs:-v}
integration: pytest --integration {posargs:-v}
[testenv:flake8]
skip_install = True
deps =
flake8
commands =
flake8
[testenv:mypy]
skip_install = True
deps =
mypy
commands =
mypy {posargs:.}
[testenv:black]
skip_install = True
deps =
black==20.8b1
commands =
black {posargs:--check setup.py livy tests docs}
[testenv:docs]
changedir = {toxinidir}/docs
whitelist_externals = make
extras = docs
commands =
make {posargs: -e SPHINXOPTS=-W html}