From b2fc057087bf98d2163a0b8dde0679ff92416c5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Jun 2025 05:49:24 +0000 Subject: [PATCH 1/2] Bump ruff from 0.11.13 to 0.12.0 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.13 to 0.12.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.13...0.12.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 07404b82..0ae54b63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,7 @@ optional-dependencies.dev = [ "python-dotenv==1.1.0", "pyyaml==6.0.2", "requests-mock-flask==2025.1.13", - "ruff==0.11.13", + "ruff==0.12.0", # We add shellcheck-py not only for shell scripts and shell code blocks, # but also because having it installed means that ``actionlint-py`` will # use it to lint shell commands in GitHub workflow files. From 6df0223f69d930be6e664f696f7ea517b709935c Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 18 Jun 2025 12:16:28 +0100 Subject: [PATCH 2/2] Fix new ruff issues --- tests/mock_vws/test_add_target.py | 1 + tests/mock_vws/test_query.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/mock_vws/test_add_target.py b/tests/mock_vws/test_add_target.py index 3c61b933..7134b994 100644 --- a/tests/mock_vws/test_add_target.py +++ b/tests/mock_vws/test_add_target.py @@ -674,6 +674,7 @@ class TestActiveFlag: argvalues=[True, False, None], ) def test_valid( + *, active_flag: bool | None, image_file_failed_state: io.BytesIO, vws_client: VWS, diff --git a/tests/mock_vws/test_query.py b/tests/mock_vws/test_query.py index 53736d03..f2a34c16 100644 --- a/tests/mock_vws/test_query.py +++ b/tests/mock_vws/test_query.py @@ -1133,6 +1133,7 @@ def test_all( argvalues=["a", True, 0], ) def test_invalid_value( + *, high_quality_image: io.BytesIO, vuforia_database: VuforiaDatabase, include_target_data: str | bool | int,