From 6d1d4e73ccb180d9f234556207f56a757c04ad76 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 11:28:20 +0000 Subject: [PATCH 1/2] Bump flake8 from 7.1.1 to 7.1.2 Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.1 to 7.1.2. - [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2) --- updated-dependencies: - dependency-name: flake8 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 c5f4d2d6..7410eff7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -104,13 +104,13 @@ test = ["pytest (>=6)"] [[package]] name = "flake8" -version = "7.1.1" +version = "7.1.2" description = "the modular source code checker: pep8 pyflakes and co" optional = false python-versions = ">=3.8.1" files = [ - {file = "flake8-7.1.1-py2.py3-none-any.whl", hash = "sha256:597477df7860daa5aa0fdd84bf5208a043ab96b8e96ab708770ae0364dd03213"}, - {file = "flake8-7.1.1.tar.gz", hash = "sha256:049d058491e228e03e67b390f311bbf88fce2dbaa8fa673e7aea87b7198b8d38"}, + {file = "flake8-7.1.2-py2.py3-none-any.whl", hash = "sha256:1cbc62e65536f65e6d754dfe6f1bada7f5cf392d6f5db3c2b85892466c3e7c1a"}, + {file = "flake8-7.1.2.tar.gz", hash = "sha256:c586ffd0b41540951ae41af572e6790dbd49fc12b3aa2541685d253d9bd504bd"}, ] [package.dependencies] @@ -385,4 +385,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "5b3a2d596dc674fb3f35844145709d1bd7b8389c2a6c7de78801dfdd99a5d28b" +content-hash = "8498282b3e0fd823cb8f684c1009a9ded6e596438fbed949336dc449b4fb2539" diff --git a/pyproject.toml b/pyproject.toml index 9f52dcd6..2d1e3221 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.9" yamllint = "^v1.35.1" codespell = "^2.4.1" black = "^25.1" -flake8 = "^7.1.1" +flake8 = "^7.1.2" pep8-naming = "^0.14.1" pytest = "^8.3.4" GitPython = "^3.1.44" From f7c78e1d788942aa17614146cb90b61a2e578569 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 17 Feb 2025 06:19:32 -0800 Subject: [PATCH 2/2] Update `flake8` 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/check-python-task.md b/workflow-templates/check-python-task.md index a393886b..b4676205 100644 --- a/workflow-templates/check-python-task.md +++ b/workflow-templates/check-python-task.md @@ -31,7 +31,7 @@ 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.1.1" --dev-dependency="pep8-naming@^0.14.1" +poetry init --python="^3.9" --dev-dependency="black@^25.1.0" --dev-dependency="flake8@^7.1.2" --dev-dependency="pep8-naming@^0.14.1" poetry install ```