From b3211fd405c4dec133b6f144c98dd0f938635345 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 22:15:53 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 → a56c0b927e6465d37cae3e97d35d4d18ab2b96cd](https://github.com/astral-sh/ruff-pre-commit/compare/c59bba8fb259db0fec2bbb77ad8ba51ea7341b56...a56c0b927e6465d37cae3e97d35d4d18ab2b96cd) - [github.com/astral-sh/uv-pre-commit: 4f783b6470be305483837130a5be2e21ed7ff52b → 2aeb804518b4373dbf5adb8dddc5466d9a6e6b21](https://github.com/astral-sh/uv-pre-commit/compare/4f783b6470be305483837130a5be2e21ed7ff52b...2aeb804518b4373dbf5adb8dddc5466d9a6e6b21) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1c519ed6..a190d417e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,12 +9,12 @@ repos: - id: check-yaml - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "c59bba8fb259db0fec2bbb77ad8ba51ea7341b56" # frozen: v0.15.20 + rev: "a56c0b927e6465d37cae3e97d35d4d18ab2b96cd" # frozen: v0.16.9 hooks: - id: ruff args: [ --fix ] - id: ruff-format - repo: https://github.com/astral-sh/uv-pre-commit - rev: "4f783b6470be305483837130a5be2e21ed7ff52b" # frozen: 0.12.13 + rev: "2aeb804518b4373dbf5adb8dddc5466d9a6e6b21" # frozen: 0.12.19 hooks: - id: uv-lock From 6ece50055af1a3d5a8ed427d38ea63c3731f2b76 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 29 Sep 2026 09:09:05 +0200 Subject: [PATCH 2/2] Fix ISC004 from ruff 0.16 and use ruff-check hook id Wrap the implicitly concatenated string in parentheses so ruff's ISC004 does not flag it as a possibly missing comma. Also replace the deprecated 'ruff' hook alias with 'ruff-check'. --- .pre-commit-config.yaml | 2 +- tests/generation/test_generate_missing.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a190d417e..b32ad2221 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: "a56c0b927e6465d37cae3e97d35d4d18ab2b96cd" # frozen: v0.16.9 hooks: - - id: ruff + - id: ruff-check args: [ --fix ] - id: ruff-format - repo: https://github.com/astral-sh/uv-pre-commit diff --git a/tests/generation/test_generate_missing.py b/tests/generation/test_generate_missing.py index 45b5f8941..898ea8dc0 100644 --- a/tests/generation/test_generate_missing.py +++ b/tests/generation/test_generate_missing.py @@ -77,8 +77,10 @@ def test_missing_steps(): result.stdout.fnmatch_lines( [ - 'Step Given "I have a custom bar" is not defined in the scenario ' - '"Code is generated for scenario steps which are not yet defined(implemented)" *' + ( + 'Step Given "I have a custom bar" is not defined in the scenario ' + '"Code is generated for scenario steps which are not yet defined(implemented)" *' + ) ] )