From: Tiago Melo Date: Thu, 8 Oct 2020 14:56:56 +0000 (+0000) Subject: mgr/dashboard: Remove some Flake8 ignore rules X-Git-Tag: v16.1.0~835^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2d4b107451e5a1d6a34b36e8658df26cbc910c20;p=ceph.git mgr/dashboard: Remove some Flake8 ignore rules This rules were being ignored by flake8 during lint, but were executed by autopep8 during fix. This caused situations where linter would be successful, but fix would still format some files. Fixes: https://tracker.ceph.com/issues/47797 Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/tox.ini b/src/pybind/mgr/dashboard/tox.ini index efe18ffc8d7f..94de67dd87a2 100644 --- a/src/pybind/mgr/dashboard/tox.ini +++ b/src/pybind/mgr/dashboard/tox.ini @@ -57,7 +57,7 @@ commands = {posargs} [flake8] max-line-length = 100 -ignore = E123 E126 E226 E402 W503 E741 F812 +ignore = E226 E402 W503 F812 exclude = .tox, .git,