Browse Source

Merge "fix tox python3 overrides"

Zuul 2 months ago
parent
commit
7af72995d0
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      tox.ini

+ 3
- 1
tox.ini View File

@@ -4,7 +4,6 @@ minversion = 2.3
4 4
 skipsdist = True
5 5
 
6 6
 [testenv]
7
-basepython = python3
8 7
 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
9 8
 setenv = VIRTUAL_ENV={envdir}
10 9
          OS_STDOUT_CAPTURE=1
@@ -14,6 +13,7 @@ deps = -r{toxinidir}/test-requirements.txt
14 13
 whitelist_externals = reno
15 14
 
16 15
 [testenv:linters]
16
+basepython = python3
17 17
 whitelist_externals = bash
18 18
 #bashate ignore errors
19 19
 #E010: do not on the same line as for
@@ -33,6 +33,7 @@ commands =
33 33
             -print0 | xargs -0 yamllint"
34 34
 
35 35
 [testenv:pep8]
36
+basepython = python3
36 37
 usedevelop = False
37 38
 deps =
38 39
     flake8<3.6.0
@@ -71,6 +72,7 @@ commands =
71 72
 whitelist_externals = rm
72 73
 
73 74
 [testenv:newnote]
75
+basepython = python3
74 76
 # Re-use the releasenotes venv
75 77
 envdir = {toxworkdir}/releasenotes
76 78
 deps = -r{toxinidir}/doc/requirements.txt

Loading…
Cancel
Save