From c02748c8df0cb76fdf1bc3fd504d58d22718c2b2 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 19 Jun 2020 18:44:57 +0800 Subject: [PATCH] qa: drop flake8-py2 test as we've dropped py2 support, no need to run flake8 with python2 anymore. Signed-off-by: Kefu Chai --- qa/CMakeLists.txt | 2 +- qa/tox.ini | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/qa/CMakeLists.txt b/qa/CMakeLists.txt index f7630ce0528bb..6d06fe9ea3df6 100644 --- a/qa/CMakeLists.txt +++ b/qa/CMakeLists.txt @@ -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() diff --git a/qa/tox.ini b/qa/tox.ini index a2ad79b64b315..1b54ca0af3b4f 100644 --- a/qa/tox.ini +++ b/qa/tox.ini @@ -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 -- 2.39.5