forked from red-hat-storage/ocs-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (39 loc) · 800 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 = py36,py37,flake8
[testenv]
deps =
-rrequirements.txt
pytest-cov
commands = py.test \
--ignore=tests \
-c pytest_unittests.ini \
--cov=ocs_ci \
{posargs}
[testenv:collectonly]
commands = py.test --collect-only tests
[testenv:flake8]
deps =
flake8
flake8-mutable
commands = flake8 ocs_ci tests
[flake8]
basepython = python3
ignore = E402, E741, W503
enable-extensions = M511
exclude =
venv,
.venv,
.git,
.github,
.tox,
__pycache__,
.pytest_cache
max-line-length = 120
# We will change this to 79 in new PR with all the fixes of:
# https://travis-ci.org/red-hat-storage/ocs-ci/jobs/523393041
[testenv:docs]
deps =
-rrequirements-docs.txt
changedir = docs
skipsdist = true
commands = /usr/bin/make -f Makefile.tox html