forked from oVirt/ovirt-system-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
62 lines (57 loc) · 2.05 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
[tox]
envlist = deps, flake8, pylint
skipsdist = true
[testenv]
basepython = python3.6
[testenv:deps]
sitepackages = true
passenv = *
deps =
-rrequirements.txt
[testenv:flake8]
deps =
flake8==3.9.0
commands =
{envpython} -m flake8 \
ost_utils/ost_utils \
basic-suite-master/test-scenarios \
basic-suite-master/test_utils \
hc-basic-suite-master/test-scenarios \
he-basic-suite-master/test-scenarios \
ansible-suite-master/test-scenarios \
network-suite-master/fixtures \
network-suite-master/ovirtlib \
network-suite-master/testlib \
network-suite-master/test-scenarios
[testenv:pylint]
sitepackages = true
passenv = *
deps =
-rrequirements.txt
pylint==2.7.2
commands =
{envpython} -m pylint \
-j{env:PYLINT_JOBS:2} \
--reports=no \
--score=no \
ost_utils/ost_utils \
basic-suite-master/test-scenarios \
basic-suite-master/test_utils \
hc-basic-suite-master/test-scenarios \
he-basic-suite-master/test-scenarios \
ansible-suite-master/test-scenarios \
network-suite-master/fixtures \
network-suite-master/ovirtlib \
network-suite-master/testlib \
network-suite-master/test-scenarios
[flake8]
per-file-ignores =
conftest.py:F401,F403
# TODO: Reformat code so that most of these can be removed eventually
ost_utils/ost_utils/pytest/*:E231,W391,F403,E302,E501,F811,F401
ost_utils/ost_utils/selenium/*:E128,E712,F403,F405,E225,F401,E231,F841,E302,W391,E501
ost_utils/ost_utils/storage_utils/*:E261,F841,E501
basic-suite-master/test-scenarios/*:E117,E127,E203,E211,E225,E262,E721,E741,W391,E202,F402,E712,F405,F841,E128,E131,E265,E111,E231,F632,E251,E122,E722,E302,F811,F403,E261,F401,E501
he-basic-suite-master/test-scenarios/*:E117,E203,E211,E262,E721,E741,F811,E128,E202,E712,F402,F841,E111,E131,E231,E265,E251,E122,E302,F401,F403,E261,E501
hc-basic-suite-master/test-scenarios/*:E117,E203,E211,E265,E741,E202,E261,F403,E302,F401,E501
show_source = True