Browse Source

Merge "fix tox python3 overrides"

changes/35/621135/1
Zuul 8 months ago
parent
commit
eb3865fe0d
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      tox.ini

+ 7
- 0
tox.ini View File

@@ -13,18 +13,23 @@ deps = -r{toxinidir}/requirements.txt
13 13
 whitelist_externals = bash
14 14
 
15 15
 [testenv:pep8]
16
+basepython = python3
16 17
 commands = flake8
17 18
 
18 19
 [testenv:venv]
20
+basepython = python3
19 21
 commands = {posargs}
20 22
 
21 23
 [testenv:checksyntax]
24
+basepython = python3
22 25
 commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards
23 26
 
24 27
 [testenv:cover]
28
+basepython = python3
25 29
 commands = python setup.py testr --coverage --testr-args='{posargs}'
26 30
 
27 31
 [testenv:docs]
32
+basepython = python3
28 33
 commands =
29 34
 # not happy with generated dashboard pages
30 35
 #  doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
@@ -40,11 +45,13 @@ builtins = _
40 45
 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
41 46
 
42 47
 [testenv:dashboards]
48
+basepython = python3
43 49
 commands =
44 50
   bash -c "tools/generate_dashboards.sh"
45 51
   sphinx-build doc/source/ build/
46 52
 
47 53
 [testenv:bindep]
54
+basepython = python3
48 55
 # Do not install any requirements. We want this to be fast and work even if
49 56
 # system dependencies are missing, since it's used to tell you what system
50 57
 # dependencies are missing! This also means that bindep must be installed

Loading…
Cancel
Save