]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
tox: add flake8-py3 env
authorKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Fri, 13 Dec 2019 02:08:55 +0000 (03:08 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Fri, 13 Dec 2019 16:49:38 +0000 (17:49 +0100)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 710b60248d10f36dbd07271c07fcc7d350896588..d46be1c7b87bc63e5b067e9e648d891168ffa26b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -52,6 +52,13 @@ deps=
   flake8
 commands=flake8 --select=F,E9 {posargs:teuthology scripts}
 
+[testenv:flake8-py3]
+basepython=python3
+install_command = pip install --upgrade {opts} {packages}
+deps=
+  flake8
+commands=flake8 --select=F,E9 {posargs:teuthology scripts}
+
 [testenv:docs]
 install_command = pip install --upgrade {opts} {packages}
 basepython=python