From 8b1baf2b3f4ee9d37a89d5a1d1f355cef3527b10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 May 2025 10:44:53 +0000 Subject: [PATCH 1/2] Bump pep8-naming from 0.15.0 to 0.15.1 Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.15.0 to 0.15.1. - [Release notes](https://github.com/PyCQA/pep8-naming/releases) - [Changelog](https://github.com/PyCQA/pep8-naming/blob/main/CHANGELOG.rst) - [Commits](https://github.com/PyCQA/pep8-naming/compare/0.15.0...0.15.1) --- updated-dependencies: - dependency-name: pep8-naming dependency-version: 0.15.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 72989035..ed642b8d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -222,14 +222,14 @@ files = [ [[package]] name = "pep8-naming" -version = "0.15.0" +version = "0.15.1" description = "Check PEP-8 naming conventions, plugin for flake8" optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pep8_naming-0.15.0-py3-none-any.whl", hash = "sha256:2ce36937ff0421d871a634f4a0c2af06f994fe22c9055ea9813ca72d562754da"}, - {file = "pep8_naming-0.15.0.tar.gz", hash = "sha256:a637ee5144f7585c800b1fc6eeb996fa35a2ef0f2690880a9e1b29cb9f6e8359"}, + {file = "pep8_naming-0.15.1-py3-none-any.whl", hash = "sha256:eb63925e7fd9e028c7f7ee7b1e413ec03d1ee5de0e627012102ee0222c273c86"}, + {file = "pep8_naming-0.15.1.tar.gz", hash = "sha256:f6f4a499aba2deeda93c1f26ccc02f3da32b035c8b2db9696b730ef2c9639d29"}, ] [package.dependencies] @@ -413,4 +413,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "2dcd940a0d03d7500db4318edcc1829c544633d7e6af1764067b11ad8443ddf6" +content-hash = "27d818a8e8f74e6bfb712f02d7309714b3db92ddcdb67d21c99d625981ef77cc" diff --git a/pyproject.toml b/pyproject.toml index 2e0c0166..2f0e2d45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ yamllint = "^v1.37.1" codespell = "^2.4.1" black = "^25.1" flake8 = "^7.2.0" -pep8-naming = "^0.15.0" +pep8-naming = "^0.15.1" pytest = "^8.3.5" GitPython = "^3.1.44" From dfc1c29f1de31e23f6557e294d1620ee23d84832 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 7 May 2025 23:44:34 -0700 Subject: [PATCH 2/2] Update `pep8-naming` version in template installation docs This is now the version used as standard in all Arduino Tooling projects, which the "template" is intended to be used with. --- workflow-templates/check-python-task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow-templates/check-python-task.md b/workflow-templates/check-python-task.md index 400e1a8f..f29ddbff 100644 --- a/workflow-templates/check-python-task.md +++ b/workflow-templates/check-python-task.md @@ -31,14 +31,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="black@^25.1.0" --dev-dependency="flake8@^7.2.0" --dev-dependency="pep8-naming@^0.15.0" +poetry init --python="^3.9" --dev-dependency="black@^25.1.0" --dev-dependency="flake8@^7.2.0" --dev-dependency="pep8-naming@^0.15.1" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "black@^25.1.0" "flake8@^7.2.0" "pep8-naming@^0.15.0" +poetry add --dev "black@^25.1.0" "flake8@^7.2.0" "pep8-naming@^0.15.1" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.