-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
67 lines (59 loc) · 1.2 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[pytest]
norecursedirs = .tox .cache .git .hg .svn build dist
[tox]
minversion = 3
skipsdist = True
envlist =
py35,
py36,
py37,
py38,
black-check
[testenv]
deps =
pytest>=5,<6
usedevelop = True
commands = {posargs:py.test -l -vvv '{toxinidir}/tests'}
[testenv:dev]
basepython = python3.8-dbg
commands = {posargs: ''}
deps =
{[testenv]deps}
ipython
pdbpp
sphinx>=3,<4
dunamai < 2
black
requests
arrow
[testenv:write_version]
skip_install = true
commands =
python '{toxinidir}/scripts/write_version.py' {posargs}
deps =
{[testenv:dev]deps}
[testenv:get_sonar_results]
skip_install = true
commands =
python '{toxinidir}/scripts/get_sonar_results.py' {posargs}
deps =
{[testenv:dev]deps}
[testenv:docs]
skip_install = true
changedir = {toxinidir}/docs
whitelist_externals = make
commands = make html
deps =
{[testenv:dev]deps}
[testenv:black]
skip_install = true
commands =
black {posargs} {toxinidir}/src/py {toxinidir}/scripts {toxinidir}/setup.py
deps =
{[testenv:dev]deps}
[testenv:black-check]
skip_install = true
commands =
black --check {toxinidir}/src/py {toxinidir}/scripts {toxinidir}/setup.py
deps =
{[testenv:dev]deps}