Browse Source

Merge "fix tox python3 overrides"

Zuul 8 months ago
parent
commit
87a6f18dbf
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      tox.ini

+ 7
- 0
tox.ini View File

@@ -36,12 +36,15 @@ basepython = python3.5
36 36
 commands = oslo_debug_helper -t kuryr_libnetwork/tests {posargs}
37 37
 
38 38
 [testenv:pep8]
39
+basepython = python3
39 40
 commands = flake8
40 41
 
41 42
 [testenv:venv]
43
+basepython = python3
42 44
 commands = {posargs}
43 45
 
44 46
 [testenv:cover]
47
+basepython = python3
45 48
 setenv =
46 49
     VIRTUAL_ENV={envdir}
47 50
     PYTHON=coverage run --source kuryr_libnetwork --parallel-mode
@@ -53,6 +56,7 @@ commands =
53 56
     coverage report
54 57
 
55 58
 [testenv:docs]
59
+basepython = python3
56 60
 commands = python setup.py build_sphinx
57 61
 
58 62
 [flake8]
@@ -63,6 +67,7 @@ show-source = true
63 67
 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,releasenotes
64 68
 
65 69
 [testenv:pylint]
70
+basepython = python3
66 71
 deps =
67 72
   {[testenv]deps}
68 73
   pylint
@@ -74,9 +79,11 @@ import_exceptions = kuryr.lib._i18n
74 79
 local-check-factory = neutron_lib.hacking.checks.factory
75 80
 
76 81
 [testenv:genconfig]
82
+basepython = python3
77 83
 commands = {toxinidir}/tools/generate_config_file_samples.sh
78 84
 
79 85
 [testenv:releasenotes]
86
+basepython = python3
80 87
 commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
81 88
 
82 89
 [testenv:lower-constraints]

Loading…
Cancel
Save