mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
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:
parent
a7beb90eb0
commit
c02748c8df
@ -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()
|
||||
|
10
qa/tox.ini
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user