From bc3d2ae2daec95a83dbb1c3b7434d6f2cb55124d Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 7 Sep 2021 16:30:17 +0200 Subject: [PATCH] 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 --- src/ceph-volume/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini index 9c09f8f9e45..92213f769c4 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 -- 2.39.5