Updated Doctor feature configuration doc
[doctor.git] / tox.ini
1 [tox]
2 minversion = 2.3.1
3 envlist = py35, pep8
4 skipsdist = True
5
6 [testenv]
7 usedevelop = True
8 install_command = pip install \
9     -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike \
10     {opts} {packages}
11 setenv = VIRTUAL_ENV={envdir}
12 deps = -r{toxinidir}/requirements.txt
13 passenv =
14     OS_AUTH_URL
15     OS_USERNAME
16     OS_PASSWORD
17     OS_USER_DOMAIN_NAME
18     OS_USER_DOMAIN_ID
19     OS_PROJECT_NAME
20     OS_TENANT_NAME
21     OS_PROJECT_DOMAIN_NAME
22     OS_PROJECT_DOMAIN_ID
23     OS_REGION_NAME
24     IMAGE_NAME
25     VM_COUNT
26     PROFILER_TYPE
27     CI_DEBUG
28     INSTALLER_TYPE
29     INSTALLER_IP
30     PROFILER_TYPE
31 changedir = {toxinidir}/doctor_tests
32 commands = doctor-test
33
34 [testenv:pep8]
35 changedir = {toxinidir}
36 commands = flake8
37
38 [flake8]
39 # E123, E125 skipped as they are invalid PEP-8.
40 # H106: Don’t put vim configuration in source files
41 # H203: Use assertIs(Not)None to check for None
42
43 show-source = True
44 ignore = E123,E125
45 enable-extensions=H106,H203
46 builtins = _
47 filename = *.py,app.wsgi
48 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tests