From 09da334d2de2f9cd8ec13224838b684d3bdfb04a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 03:34:37 +0000 Subject: [PATCH 1/3] Bump the required group with 5 updates Bumps the required group with 5 updates: | Package | From | To | | --- | --- | --- | | [pydoclint](https://github.com/jsh9/pydoclint) | `0.5.6` | `0.5.9` | | [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) | `1.0.5` | `1.2.0` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.34` | `9.5.39` | | [pylint](https://github.com/pylint-dev/pylint) | `3.2.7` | `3.3.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` | Updates `pydoclint` from 0.5.6 to 0.5.9 - [Release notes](https://github.com/jsh9/pydoclint/releases) - [Changelog](https://github.com/jsh9/pydoclint/blob/main/CHANGELOG.md) - [Commits](https://github.com/jsh9/pydoclint/compare/0.5.6...0.5.9) Updates `mkdocs-macros-plugin` from 1.0.5 to 1.2.0 - [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases) - [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.0.5...v1.2.0) Updates `mkdocs-material` from 9.5.34 to 9.5.39 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.34...9.5.39) Updates `pylint` from 3.2.7 to 3.3.1 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.7...v3.3.1) Updates `pytest` from 8.3.2 to 8.3.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3) --- updated-dependencies: - dependency-name: pydoclint dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: mkdocs-macros-plugin dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required ... Signed-off-by: dependabot[bot] --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dce5fd6..98f7079 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ dev-flake8 = [ "flake8 == 7.1.1", "flake8-docstrings == 1.7.0", "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml - "pydoclint == 0.5.6", + "pydoclint == 0.5.9", "pydocstyle == 6.3.0", ] dev-formatting = ["black == 24.8.0", "isort == 5.13.2"] @@ -65,8 +65,8 @@ dev-mkdocs = [ "mike == 2.1.3", "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.1", - "mkdocs-macros-plugin == 1.0.5", - "mkdocs-material == 9.5.34", + "mkdocs-macros-plugin == 1.2.0", + "mkdocs-material == 9.5.39", "mkdocstrings[python] == 0.26.1", "mkdocstrings-python == 1.11.1", "frequenz-repo-config[lib] == 0.10.0", @@ -79,12 +79,12 @@ dev-mypy = [ ] dev-noxfile = ["nox == 2024.4.15", "frequenz-repo-config[lib] == 0.10.0"] dev-pylint = [ - "pylint == 3.2.7", + "pylint == 3.3.1", # For checking the noxfile, docs/ script, and tests "frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]", ] dev-pytest = [ - "pytest == 8.3.2", + "pytest == 8.3.3", "frequenz-repo-config[extra-lint-examples] == 0.10.0", "pytest-mock == 3.14.0", "pytest-asyncio == 0.24.0", From 69a23a50c6c52778e67d9e410382b76c9f43af37 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 24 Oct 2024 10:51:13 +0200 Subject: [PATCH 2/3] Add missing stubs for grpc and protobuf types Signed-off-by: Leandro Lucarella --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 98f7079..1377486 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,9 @@ dev-mkdocs = [ ] dev-mypy = [ "mypy == 1.11.2", + "grpc-stubs == 1.53.0.5", "types-Markdown == 3.7.0.20240822", + "types-protobuf == 4.21.0.7", # For checking the noxfile, docs/ script, and tests "frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]", ] From 356e42f2f1f6f9a656dd18401baf2c4e48b6494d Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 24 Oct 2024 10:51:25 +0200 Subject: [PATCH 3/3] Ignore check for exception that is raised indirectly Signed-off-by: Leandro Lucarella --- src/frequenz/client/microgrid/_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frequenz/client/microgrid/_client.py b/src/frequenz/client/microgrid/_client.py index 6ef8cc2..cf8fccd 100644 --- a/src/frequenz/client/microgrid/_client.py +++ b/src/frequenz/client/microgrid/_client.py @@ -417,7 +417,7 @@ async def set_power( # noqa: DOC502 (raises ApiClientError indirectly) method_name="SetPowerActive", ) - async def set_bounds( + async def set_bounds( # noqa: DOC503 (raises ApiClientError indirectly) self, component_id: int, lower: float,