From 0e83a35020b99b5b746fa410f3b5896e402bdb81 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:00:13 +0000 Subject: [PATCH 1/2] Bump flake8 from 7.1.0 to 7.1.1 Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.0 to 7.1.1. - [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1) --- 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 879b3304..69c8f9c1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -104,13 +104,13 @@ test = ["pytest (>=6)"] [[package]] name = "flake8" -version = "7.1.0" +version = "7.1.1" description = "the modular source code checker: pep8 pyflakes and co" optional = false python-versions = ">=3.8.1" files = [ - {file = "flake8-7.1.0-py2.py3-none-any.whl", hash = "sha256:2e416edcc62471a64cea09353f4e7bdba32aeb079b6e360554c659a122b1bc6a"}, - {file = "flake8-7.1.0.tar.gz", hash = "sha256:48a07b626b55236e0fb4784ee69a465fbf59d79eec1f5b4785c3d3bc57d17aa5"}, + {file = "flake8-7.1.1-py2.py3-none-any.whl", hash = "sha256:597477df7860daa5aa0fdd84bf5208a043ab96b8e96ab708770ae0364dd03213"}, + {file = "flake8-7.1.1.tar.gz", hash = "sha256:049d058491e228e03e67b390f311bbf88fce2dbaa8fa673e7aea87b7198b8d38"}, ] [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 = "30ece74ba2a848eedd3fc081ed63e2fec4a9334b19683696073b4b5ff7c77f5c" +content-hash = "59f459a5a29a41f55bb9f5db7cb6ec0ad93a20b6ad7f68d9ec511068ec08a956" diff --git a/pyproject.toml b/pyproject.toml index bc70e90d..7aa7d483 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.9" yamllint = "^v1.35.1" codespell = "^2.3.0" black = "^24.8" -flake8 = "^7.1.0" +flake8 = "^7.1.1" pep8-naming = "^0.14.1" pytest = "^8.3.2" GitPython = "^3.1.43" From 2027b5d361abf9e0eea6bfef1d0de8a58aa9e3fd Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 5 Aug 2024 13:01:21 -0700 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 | 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 3e1dfb58..cdd68098 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@^24.8.0" --dev-dependency="flake8@^7.1.0" --dev-dependency="pep8-naming@^0.14.1" +poetry init --python="^3.9" --dev-dependency="black@^24.8.0" --dev-dependency="flake8@^7.1.1" --dev-dependency="pep8-naming@^0.14.1" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "black@^24.8.0" "flake8@^7.1.0" "pep8-naming@^0.14.1" +poetry add --dev "black@^24.8.0" "flake8@^7.1.1" "pep8-naming@^0.14.1" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.