]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: drop flake8-py2 test
authorKefu Chai <kchai@redhat.com>
Fri, 19 Jun 2020 10:44:57 +0000 (18:44 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Jun 2020 15:00:56 +0000 (23:00 +0800)
as we've dropped py2 support, no need to run flake8 with python2
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/CMakeLists.txt
qa/tox.ini

index f7630ce0528bb8724190e4807e36b6eb50561ed4..6d06fe9ea3df617a4a2d40418335a6d26c0b192c 100644 (file)
@@ -5,5 +5,5 @@ endif()
 
 if(WITH_TESTS)
   include(AddCephTest)
-  add_tox_test(qa TOX_ENVS flake8-py3 import-tasks)
+  add_tox_test(qa TOX_ENVS flake8 import-tasks)
 endif()
index a2ad79b64b315e446ae62c37392526f5400d2320..1b54ca0af3b4f66ea41d0850f26b353f5b46db52 100644 (file)
@@ -1,14 +1,8 @@
 [tox]
-envlist = flake8-py2, flake8-py3, mypy, pytest
+envlist = flake8, mypy, pytest
 skipsdist = True
 
-[testenv:flake8-py2]
-basepython = python2
-deps=
-  flake8
-commands=flake8 --select=F,E9 --exclude=venv,.tox
-
-[testenv:flake8-py3]
+[testenv:flake8]
 basepython = python3
 deps=
   flake8