Browse Source

Run pep8/fast8 with python3

Change-Id: I056d7228834f5becf36ccbd4f7473e532cc5a431
Tom Barron 1 year ago
parent
commit
b08d3d5b11
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tox.ini

+ 4
- 0
tox.ini View File

@@ -37,6 +37,8 @@ basepython = python3.5
37 37
 commands = oslo_debug_helper {posargs}
38 38
 
39 39
 [testenv:pep8]
40
+# Let's gate pep8 under py3 by default because the py3 checks are stricter.
41
+basepython = python3
40 42
 commands =
41 43
   flake8 {posargs}
42 44
   # Run bashate during pep8 runs to ensure violations are caught by
@@ -87,6 +89,8 @@ commands =
87 89
   {toxinidir}/tools/cover.sh {posargs}
88 90
 
89 91
 [testenv:fast8]
92
+# Let's run fast8 under py3 by default because the py3 checks are stricter.
93
+basepython = python3
90 94
 commands =
91 95
   {toxinidir}/tools/fast8.sh
92 96
 

Loading…
Cancel
Save