From 1fa291d40f412c33c8cd677a04677fd17b9db872 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 17 Jun 2024 16:11:34 -0700 Subject: [PATCH] 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 7a199013..41d4bed8 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.4.2" --dev-dependency="flake8@^7.0.0" --dev-dependency="pep8-naming@^0.14.1" +poetry init --python="^3.9" --dev-dependency="black@^24.4.2" --dev-dependency="flake8@^7.1.0" --dev-dependency="pep8-naming@^0.14.1" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "black@^24.4.2" "flake8@^7.0.0" "pep8-naming@^0.14.1" +poetry add --dev "black@^24.4.2" "flake8@^7.1.0" "pep8-naming@^0.14.1" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.