forked from fetchai/cosmpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
147 lines (126 loc) · 2.86 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[tox]
envlist = py39
isolated_build = True
[testenv]
basepython = python3
passenv = *
extras = all
deps =
poetry==1.3.2
charset-normalizer==3.1.0
[testenv:docs]
skipsdist = True
skip_install = True
commands =
poetry install --only docs
poetry run make docs
[testenv:docs-serve]
skipsdist = True
skip_install = True
commands =
poetry install --only docs
poetry run make docs-live-ci
[testenv:flake8]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py "flake8.*" pydocstyle darglint
poetry run make flake8
[testenv:black-check]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py black
poetry run make black-check
[testenv:isort-check]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py isort
poetry run make isort-check
[testenv:vulture]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py vulture
poetry run make vulture
[testenv:bandit]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py bandit
poetry run make bandit
[testenv:safety]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py safety
poetry run make safety
[testenv:mypy]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py mypy
poetry run make mypy
[testenv:pylint]
skipsdist = True
skip_install = True
commands =
poetry install --only main,test
poetry run python ./install_packages.py pylint
poetry run make pylint
[testenv:test]
skipsdist = True
skip_install = True
commands =
poetry install --only main,test
poetry run make test
[testenv:test-unit]
skipsdist = True
skip_install = True
commands =
poetry install --only main,test,dev
poetry run make unit-test
[testenv:test-integration]
skipsdist = True
skip_install = True
commands =
poetry install --only main,test,dev
poetry run make integration-test
[testenv:test-third-party]
skipsdist = True
skip_install = True
commands =
poetry install --only main,test
poetry run make third-party-test
[testenv:coverage-report]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py coverage
poetry run make coverage-report-ci
[testenv:liccheck]
skipsdist = True
skip_install = True
whitelist_externals =
poetry
bash
commands =
poetry install --only main
poetry run python ./install_packages.py liccheck
poetry run make liccheck
[testenv:copyright-check]
skipsdist = True
skip_install = True
commands = poetry run make copyright-check
[testenv:check-manifest]
skipsdist = True
skip_install = True
commands =
poetry run python ./install_packages.py check-manifest
poetry run make check-manifest-ci
[testenv:check_api_docs]
skipsdist = True
commands =
poetry install --only docs,dev
poetry run make check-api-docs-ci