From: Kefu Chai Date: Tue, 20 Oct 2020 11:04:40 +0000 (+0800) Subject: pybind/mgr/dashboard: disable too-many-branches lint warning X-Git-Tag: v16.1.0~810^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4583c33dcd4f39000df8daff6f7ee31a7e535b42;p=ceph.git pybind/mgr/dashboard: disable too-many-branches lint warning Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/dashboard/services/tcmu_service.py b/src/pybind/mgr/dashboard/services/tcmu_service.py index 2cc8cffebed..aceeaff3de0 100644 --- a/src/pybind/mgr/dashboard/services/tcmu_service.py +++ b/src/pybind/mgr/dashboard/services/tcmu_service.py @@ -15,6 +15,7 @@ SERVICE_TYPE = 'tcmu-runner' class TcmuService(object): # pylint: disable=too-many-nested-blocks + # pylint: disable=too-many-branches @staticmethod def get_iscsi_info(): daemons = {} # type: Dict[str, dict]