-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (36 loc) · 751 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
[tox]
envlist = py38,flake8,type,robot
[testenv]
deps = -rrequirements.txt
[testenv:pytest]
deps = pytest
commands = pytest
[testenv:flake8]
deps =
flake8
flake8-mutable
commands = flake8 tests
[flake8]
basepython = python3
ignore = E203, E402, E741, W503
enable-extensions = M511
exclude =
venv,
.venv,
.git,
.github,
.tox,
__pycache__,
.pytest_cache
max-line-length = 120
[testenv:type]
description = type checker
deps = mypy
commands = mypy -v --config-file mypy.ini -p openshiftcli
[testenv:robot]
TEST_ARTIFACT_DIR ='$(mktemp -d -p robotframework/output -t ods-ci-$(date +%Y-%m-%d-%H-%M)-XXXXXXXXXX)'
description = robot framework automation
deps =
robotframework
commands =
./run.sh {posargs}