]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove some Flake8 ignore rules 37602/head
authorTiago Melo <tmelo@suse.com>
Thu, 8 Oct 2020 14:56:56 +0000 (14:56 +0000)
committerTiago Melo <tmelo@suse.com>
Thu, 8 Oct 2020 15:35:24 +0000 (15:35 +0000)
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 <tmelo@suse.com>
src/pybind/mgr/dashboard/tox.ini

index efe18ffc8d7fe5029b266beb5d04e1a85760a4f9..94de67dd87a22b8fefdc89c2cd246eba5e654d75 100644 (file)
@@ -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,