From: Guillaume Abrioux Date: Tue, 7 Sep 2021 14:30:17 +0000 (+0200) Subject: ceph-volume: check trailing whitespaces with flake8 X-Git-Tag: v17.1.0~895^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bc3d2ae2daec95a83dbb1c3b7434d6f2cb55124d;p=ceph.git ceph-volume: check trailing whitespaces with flake8 Let's use flake8 in order to check there's no trailing whitespaces in future PRs. Signed-off-by: Guillaume Abrioux --- diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini index 9c09f8f9e456d..92213f769c4cc 100644 --- a/src/ceph-volume/tox.ini +++ b/src/ceph-volume/tox.ini @@ -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