-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
83 lines (76 loc) · 1.54 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tox]
envlist = pytest, black, flake8, pylint, yamllint, py36, py37, py38
skip_missing_interpreters = True
skipsdist=True
[testenv:pytest]
deps =
-rrequirements.txt
pytest-cov==2.8.1
pytest==5.3.1
commands =
pytest \
--log-level=DEBUG \
--durations=5 \
--cov-report=term \
--cov-report=xml \
--cov-report=html:htmlcov-{envname} \
{posargs}
[testenv:black]
skip_install = true
py36: basepython=python3.6
py37: basepython=python3.7
py38: basepython=python3.8
changedir = {toxinidir}
deps =
black==21.6b0
# style configured via pyproject.toml
commands =
black \
--check \
--diff \
{posargs} \
./
[testenv:flake8]
py36: basepython=python3.6
py37: basepython=python3.7
py38: basepython=python3.8
skip_install = true
changedir = {toxinidir}
deps =
flake8==3.7.9
commands =
flake8 \
--statistics {posargs} \
main.py \
github2jira/ \
tests/
[testenv:pylint]
py36: basepython=python3.6
py37: basepython=python3.7
py38: basepython=python3.8
sitepackages = true
skip_install = true
changedir = {toxinidir}
deps =
-rrequirements.txt
pylint==2.4.4
commands =
pylint \
--errors-only \
{posargs} \
main.py \
github2jira/ \
tests/
[testenv:yamllint]
py36: basepython=python3.6
py37: basepython=python3.7
py38: basepython=python3.8
skip_install = true
changedir = {toxinidir}
deps =
yamllint==1.23.0
commands =
yamllint manifests/
[flake8]
show_source = True
max-line-length=90