forked from atlassian-api/atlassian-python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (48 loc) · 1015 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
45
46
47
48
49
50
51
52
53
54
55
56
[base]
linting_targets = atlassian/ examples/ tests/
[tox]
envlist = py3,flake8,black,mypy,bandit,doc8
skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-cov
coverage
commands =
coverage erase
pytest -v --cov=atlassian --cov-branch --cov-report=xml
coverage html
extras = kerberos
parallel_show_output = true
[testenv:flake8]
basepython = python3
skip_install = true
deps = flake8
commands = flake8
[testenv:pylint]
basepython = python3
skip_install = true
deps = pylint
commands = pylint {[base]linting_targets}
[testenv:black]
basepython = python3
skip_install = true
deps = black
commands = black --check --diff {[base]linting_targets}
[testenv:mypy]
basepython = python3
skip_install = true
deps = mypy
commands = mypy atlassian/
[testenv:bandit]
basepython = python3
skip_install = true
deps = bandit
commands = bandit -r atlassian/
[testenv:doc8]
basepython = python3
skip_install = true
deps =
sphinx
doc8
commands = doc8 --ignore-path docs/_build/ docs/