From 476c7f95e00027024ce2d85042f0703843439376 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Dec 2025 09:16:27 +0000 Subject: [PATCH 1/2] Bump pylint from 3.3.8 to 4.0.4 Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.8 to 4.0.4. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.8...v4.0.4) --- updated-dependencies: - dependency-name: pylint dependency-version: 4.0.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]", ] From f0587104902c6f22863499e2302537b5abc5ee36 Mon Sep 17 00:00:00 2001 From: "Mathias L. Baumann" Date: Thu, 11 Dec 2025 09:30:19 +0100 Subject: [PATCH 2/2] Disable too-many-branches warning for _run method Signed-off-by: Mathias L. Baumann --- src/frequenz/dispatch/_bg_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",