Skip to content

Commit f058710

Browse files
committed
Disable too-many-branches warning for _run method
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 476c7f9 commit f058710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/dispatch/_bg_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def start(self) -> None:
228228
"""Start the background service."""
229229
self._tasks.add(asyncio.create_task(self._run()))
230230

231-
async def _run(self) -> None:
231+
async def _run(self) -> None: # pylint: disable=too-many-branches
232232
"""Run the background service."""
233233
_logger.info(
234234
"Starting dispatching background service for microgrid %s",

0 commit comments

Comments
 (0)