summaryrefslogtreecommitdiffstats
path: root/qa/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Bechtold <tbechtold@suse.com>2019-12-09 17:27:46 +0100
committerThomas Bechtold <tbechtold@suse.com>2019-12-13 09:24:20 +0100
commitbdcc94a1d1f659b1524fdc6bb8bd1da6d38a30d2 (patch)
treeea9f29091159bc7d8b9b374ad07a778ccc0d1a64 /qa/CMakeLists.txt
parentMerge pull request #32230 from shellwedance/ceph-volume_typo_fix (diff)
downloadceph-bdcc94a1d1f659b1524fdc6bb8bd1da6d38a30d2.tar.xz
ceph-bdcc94a1d1f659b1524fdc6bb8bd1da6d38a30d2.zip
qa: Run flake8 on python2 and python3
To be able to catch problems with python2 *and* python3, run flake8 with both versions. From the flake8 homepage: It is very important to install Flake8 on the correct version of Python for your needs. If you want Flake8 to properly parse new language features in Python 3.5 (for example), you need it to be installed on 3.5 for Flake8 to understand those features. In many ways, Flake8 is tied to the version of Python on which it runs. Also fix the problems with python3 on the way. Note: This requires now the six module for teuthology. But this is already an install_require in teuthology itself. Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
Diffstat (limited to 'qa/CMakeLists.txt')
-rw-r--r--qa/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/CMakeLists.txt b/qa/CMakeLists.txt
index 06de6620b95..46f1f1def45 100644
--- a/qa/CMakeLists.txt
+++ b/qa/CMakeLists.txt
@@ -5,5 +5,5 @@ endif()
if(WITH_TESTS)
include(AddCephTest)
- add_tox_test(qa flake8)
+ add_tox_test(qa flake8-py2 flake8-py3)
endif()