qa: drop flake8-py2 test

as we've dropped py2 support, no need to run flake8 with python2
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-06-19 18:44:57 +08:00
parent a7beb90eb0
commit c02748c8df
2 changed files with 3 additions and 9 deletions

View 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()

View 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