diff --git a/pyproject.toml b/pyproject.toml index d0b5b78..85e2b64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,7 @@ dev-noxfile = [ "frequenz-repo-config[lib] == 0.13.8", ] dev-pylint = [ - "pylint == 3.3.8", + "pylint == 4.0.4", # For checking the noxfile, docs/ script, and tests "frequenz-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]", ] diff --git a/src/frequenz/dispatch/_bg_service.py b/src/frequenz/dispatch/_bg_service.py index f5697ea..3ea9d5f 100644 --- a/src/frequenz/dispatch/_bg_service.py +++ b/src/frequenz/dispatch/_bg_service.py @@ -228,7 +228,7 @@ def start(self) -> None: """Start the background service.""" self._tasks.add(asyncio.create_task(self._run())) - async def _run(self) -> None: + async def _run(self) -> None: # pylint: disable=too-many-branches """Run the background service.""" _logger.info( "Starting dispatching background service for microgrid %s",