forked from release-engineering/ubi-population-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (44 loc) · 891 Bytes
/
Copy pathtox.ini
File metadata and controls
52 lines (44 loc) · 891 Bytes
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
[tox]
envlist = py38,py39,static,docs,integration
[testenv]
deps=-rtest-requirements.txt
commands=
pytest -v {posargs}
allowlist_externals=sh
[testenv:integration]
passenv =
TEST_PULP_*
REQUESTS_CA_BUNDLE
TEST_MANIFEST_URL
GITLAB_CONFIG_URL
deps=-rtest-requirements.txt
commands=
pytest -v {posargs} tests/integration
allowlist_externals=yum
[testenv:static]
deps=
-rtest-requirements.txt
black==22.3.0
pylint==2.8.3
commands=
black --check .
sh -c 'pylint -f colorized ubipop tests; test $(( $? & (1|2|4|32) )) = 0'
allowlist_externals=sh
[testenv:cov]
deps=
-rtest-requirements.txt
pytest-cov
usedevelop=true
commands=
pytest -v --cov-report=html --cov-report=xml --cov=ubipop {posargs}
[testenv:docs]
deps=
sphinx
alabaster
use_develop=true
commands=
sphinx-build -M html docs docs/_build
[flake8]
max-line-length = 100
[pep8]
max-line-length = 100