From 9b139760ac142ccd1868db72e4e1cab3bf5cfad8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:41:08 +0000 Subject: [PATCH 1/2] Bump codespell from 2.3.0 to 2.4.0 Bumps [codespell](https://github.com/codespell-project/codespell) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/codespell-project/codespell/releases) - [Commits](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: codespell dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2e3838a6..b2bc8c21 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. [[package]] name = "black" @@ -62,13 +62,13 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "codespell" -version = "2.3.0" -description = "Codespell" +version = "2.4.0" +description = "Fix common misspellings in text files" optional = false python-versions = ">=3.8" files = [ - {file = "codespell-2.3.0-py3-none-any.whl", hash = "sha256:a9c7cef2501c9cfede2110fd6d4e5e62296920efe9abfb84648df866e47f58d1"}, - {file = "codespell-2.3.0.tar.gz", hash = "sha256:360c7d10f75e65f67bad720af7007e1060a5d395670ec11a7ed1fed9dd17471f"}, + {file = "codespell-2.4.0-py3-none-any.whl", hash = "sha256:b4c5b779f747dd481587aeecb5773301183f52b94b96ed51a28126d0482eec1d"}, + {file = "codespell-2.4.0.tar.gz", hash = "sha256:587d45b14707fb8ce51339ba4cce50ae0e98ce228ef61f3c5e160e34f681be58"}, ] [package.extras] @@ -385,4 +385,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "b0410cc18db57cdbccb8fdcb0cbbdbc644a29bb5469f2c76871e13c06e1c756f" +content-hash = "9b33909ca433b9e8f6fe4ce8d2059a396da58cd3bd1385a85475eb911874505c" diff --git a/pyproject.toml b/pyproject.toml index fc80df8e..5a268bfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ python = "^3.9" [tool.poetry.dev-dependencies] yamllint = "^v1.35.1" -codespell = "^2.3.0" +codespell = "^2.4.0" black = "^24.10" flake8 = "^7.1.1" pep8-naming = "^0.14.1" From d008dc5f0596ee3d1bab3f85e75b195c86b25a7e Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 25 Jan 2025 10:59:31 -0800 Subject: [PATCH 2/2] Update `codespell` 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/spell-check-task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow-templates/spell-check-task.md b/workflow-templates/spell-check-task.md index f665519b..9cd8b306 100644 --- a/workflow-templates/spell-check-task.md +++ b/workflow-templates/spell-check-task.md @@ -29,14 +29,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="codespell@^2.3.0" +poetry init --python="^3.9" --dev-dependency="codespell@^2.4.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "codespell@^2.3.0" +poetry add --dev "codespell@^2.4.0" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.