From a3a664cc6ca09339fbd767ef462679a86917a900 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 05:38:01 +0000 Subject: [PATCH 1/2] Bump pyright from 1.1.398 to 1.1.399 Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.398 to 1.1.399. - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.398...v1.1.399) --- updated-dependencies: - dependency-name: pyright dependency-version: 1.1.399 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9f945b38..a19fe79e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ optional-dependencies.dev = [ "pylint==3.3.6", "pylint-per-file-ignores==1.4.0", "pyproject-fmt==2.5.1", - "pyright==1.1.398", + "pyright==1.1.399", "pyroma==4.2", "pytest==8.3.5", "pytest-cov==6.1.1", From e7a29c84d5678ed7364f051d4aebb132af896ab5 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Sat, 12 Apr 2025 19:27:48 +0100 Subject: [PATCH 2/2] Specify a defaultfactory type --- src/mock_vws/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mock_vws/database.py b/src/mock_vws/database.py index a06422f8..1d3b6265 100644 --- a/src/mock_vws/database.py +++ b/src/mock_vws/database.py @@ -67,7 +67,7 @@ class VuforiaDatabase: # ``frozen=True`` while still being able to keep the interface we want. # In particular, we might want to inspect the ``database`` object's targets # as they change via API requests. - targets: set[Target] = field(default_factory=set, hash=False) + targets: set[Target] = field(default_factory=set[Target], hash=False) state: States = States.WORKING request_quota: int = 100000