]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: check trailing whitespaces with flake8 43063/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Sep 2021 14:30:17 +0000 (16:30 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Sep 2021 14:31:18 +0000 (16:31 +0200)
Let's use flake8 in order to check there's no trailing whitespaces in
future PRs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/tox.ini

index 9c09f8f9e456d3ee5e6cc6e7cd9ae3194a6095cf..92213f769c4ccc98b2f246fd83e75927c5ce56bb 100644 (file)
@@ -11,7 +11,7 @@ commands=py.test -v {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/funct
 
 [testenv:py3-flake8]
 deps=flake8
-commands=flake8 {posargs:ceph_volume}
+commands=flake8 --select F,E9,W291 {posargs:ceph_volume}
 
 [tool:pytest]
 norecursedirs = .* _* virtualenv