From f4a985b092ebe7d90aefd20b477f76b29e980840 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Fri, 19 Oct 2018 12:02:48 +0200 Subject: [PATCH] ceph-volume: extract flake8 config It's preferable to use [flake8] section to configure flake8. So external tools/editor can read the configuration. Signed-off-by: Mehdi Abaakouk --- src/ceph-volume/tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini index 514d208facf3..06a638848282 100644 --- a/src/ceph-volume/tox.ini +++ b/src/ceph-volume/tox.ini @@ -8,7 +8,10 @@ commands=py.test -v {posargs:ceph_volume/tests} [testenv:flake8] deps=flake8 -commands=flake8 --select=F,E9 {posargs:ceph_volume} +commands=flake8 {posargs:ceph_volume} [tool:pytest] norecursedirs = .* _* virtualenv + +[flake8] +select=F,E9 -- 2.47.3