]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: disable unsubscriptable-object warning from pylint
authorKefu Chai <kchai@redhat.com>
Thu, 14 Jan 2021 04:53:19 +0000 (12:53 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Jan 2021 09:25:27 +0000 (17:25 +0800)
see https://github.com/PyCQA/pylint/issues/3882

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/.pylintrc

index f4cd20ec9c1d5df160333970bfb1d03f90fad0eb..79dfbad7d961482291fd0947fa0f05876628bff3 100644 (file)
@@ -123,7 +123,8 @@ disable=import-star-module-level,
         relative-beyond-top-level,
         raise-missing-from,
         super-with-arguments,
-        import-outside-toplevel
+        import-outside-toplevel,
+        unsubscriptable-object
 
 
 # Enable the message, report, category or checker with the given id(s). You can