mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
c02748c8df
as we've dropped py2 support, no need to run flake8 with python2 anymore. Signed-off-by: Kefu Chai <kchai@redhat.com>
10 lines
222 B
CMake
10 lines
222 B
CMake
set(CEPH_BUILD_VIRTUALENV $ENV{TMPDIR})
|
|
if(NOT CEPH_BUILD_VIRTUALENV)
|
|
set(CEPH_BUILD_VIRTUALENV ${CMAKE_BINARY_DIR})
|
|
endif()
|
|
|
|
if(WITH_TESTS)
|
|
include(AddCephTest)
|
|
add_tox_test(qa TOX_ENVS flake8 import-tasks)
|
|
endif()
|