From 4583c33dcd4f39000df8daff6f7ee31a7e535b42 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 20 Oct 2020 19:04:40 +0800 Subject: [PATCH] pybind/mgr/dashboard: disable too-many-branches lint warning Signed-off-by: Kefu Chai --- src/pybind/mgr/dashboard/services/tcmu_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/dashboard/services/tcmu_service.py b/src/pybind/mgr/dashboard/services/tcmu_service.py index 2cc8cffebed6a..aceeaff3de042 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] -- 2.39.5