From: Mehdi Abaakouk Date: Fri, 19 Oct 2018 10:02:48 +0000 (+0200) Subject: ceph-volume: extract flake8 config X-Git-Tag: v14.1.0~1117^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4a985b092ebe7d90aefd20b477f76b29e980840;p=ceph.git 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 --- diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini index 514d208facf3c..06a6388482827 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