From 1cfde78d364ebd7753b50d8053c6463846cbf663 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:55:15 +0000 Subject: [PATCH 1/2] Bump the required group with 9 updates Bumps the required group with 9 updates: | Package | From | To | | --- | --- | --- | | [flake8](https://github.com/pycqa/flake8) | `7.0.0` | `7.1.0` | | [pydoclint](https://github.com/jsh9/pydoclint) | `0.4.1` | `0.5.3` | | [mike](https://github.com/jimporter/mike) | `2.1.1` | `2.1.2` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.26` | `9.5.27` | | [mypy](https://github.com/python/mypy) | `1.10.0` | `1.10.1` | | [types-protobuf](https://github.com/python/typeshed) | `5.26.0.20240422` | `5.27.0.20240626` | | [types-setuptools](https://github.com/python/typeshed) | `70.0.0.20240524` | `70.1.0.20240627` | | [pylint](https://github.com/pylint-dev/pylint) | `3.2.3` | `3.2.5` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.103.1` | `6.104.2` | Updates `flake8` from 7.0.0 to 7.1.0 - [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0) Updates `pydoclint` from 0.4.1 to 0.5.3 - [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.4.1...0.5.3) Updates `mike` from 2.1.1 to 2.1.2 - [Release notes](https://github.com/jimporter/mike/releases) - [Changelog](https://github.com/jimporter/mike/blob/master/CHANGES.md) - [Commits](https://github.com/jimporter/mike/compare/v2.1.1...v2.1.2) Updates `mkdocs-material` from 9.5.26 to 9.5.27 - [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.26...9.5.27) Updates `mypy` from 1.10.0 to 1.10.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.10.1) Updates `types-protobuf` from 5.26.0.20240422 to 5.27.0.20240626 - [Commits](https://github.com/python/typeshed/commits) Updates `types-setuptools` from 70.0.0.20240524 to 70.1.0.20240627 - [Commits](https://github.com/python/typeshed/commits) Updates `pylint` from 3.2.3 to 3.2.5 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.3...v3.2.5) Updates `hypothesis` from 6.103.1 to 6.104.2 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.103.1...hypothesis-python-6.104.2) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: pydoclint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mike dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: types-protobuf dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: types-setuptools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required ... Signed-off-by: dependabot[bot] --- pyproject.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 318730b1c..9b1afa7ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,35 +43,35 @@ email = "floss@frequenz.com" [project.optional-dependencies] dev-flake8 = [ - "flake8 == 7.0.0", + "flake8 == 7.1.0", "flake8-docstrings == 1.7.0", "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml - "pydoclint == 0.4.1", + "pydoclint == 0.5.3", "pydocstyle == 6.3.0", ] dev-formatting = ["black == 24.4.2", "isort == 5.13.2"] dev-mkdocs = [ "black == 24.4.2", "Markdown==3.6", - "mike == 2.1.1", + "mike == 2.1.2", "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.1", "mkdocs-macros-plugin == 1.0.5", - "mkdocs-material == 9.5.26", + "mkdocs-material == 9.5.27", "mkdocstrings[python] == 0.25.1", "frequenz-repo-config[lib] == 0.9.2", ] dev-mypy = [ - "mypy == 1.10.0", + "mypy == 1.10.1", "types-Markdown == 3.6.0.20240316", - "types-protobuf == 5.26.0.20240422", - "types-setuptools == 70.0.0.20240524", + "types-protobuf == 5.27.0.20240626", + "types-setuptools == 70.1.0.20240627", # For checking the noxfile, docs/ script, and tests "frequenz-sdk[dev-mkdocs,dev-noxfile,dev-pytest]", ] dev-noxfile = ["nox == 2024.4.15", "frequenz-repo-config[lib] == 0.9.2"] dev-pylint = [ - "pylint == 3.2.3", + "pylint == 3.2.5", # For checking the noxfile, docs/ script, and tests "frequenz-sdk[dev-mkdocs,dev-noxfile,dev-pytest]", ] @@ -82,7 +82,7 @@ dev-pytest = [ "pytest-asyncio == 0.23.7", "time-machine == 2.12.0", "async-solipsism == 0.6", - "hypothesis == 6.103.1", + "hypothesis == 6.104.2", ] dev = [ "frequenz-sdk[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]", From 0430e50e71d051f0d7d9ae7fb82b3f7b5b14bbcb Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 3 Jul 2024 09:33:35 +0200 Subject: [PATCH 2/2] Disable the new `check-class-attributes` pydoclint check This check works with the `Attributes:` section in the class docstring, but we are using a docstring when declaring the attribute instead, which is handled better by `mkdocstrings`, so this check is not useful for us as it will always fail. Signed-off-by: Leandro Lucarella --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9b1afa7ee..07a70332b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,7 @@ check-yield-types = false arg-type-hints-in-docstring = false arg-type-hints-in-signature = true allow-init-docstring = true +check-class-attributes = false [tool.pylint.similarities] ignore-comments = ['yes']