From 9ce033fae756cb0cf730c5527e92ed59ac04e37f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 07:46:08 +0000 Subject: [PATCH 1/2] Bump pyright from 1.1.363 to 1.1.373 in /deps Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.363 to 1.1.373. - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.363...v1.1.373) --- updated-dependencies: - dependency-name: pyright dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- deps/requirements-pyright.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/requirements-pyright.txt b/deps/requirements-pyright.txt index 2c49ec4..c4aad36 100644 --- a/deps/requirements-pyright.txt +++ b/deps/requirements-pyright.txt @@ -1 +1 @@ -pyright==1.1.363 +pyright==1.1.373 From 84025ed877f7719dffb3b2f9f12b2495f4f35a3f Mon Sep 17 00:00:00 2001 From: Ryan Soklaski Date: Wed, 31 Jul 2024 21:19:04 -0400 Subject: [PATCH 2/2] fix typing --- tests/test_type_properties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_type_properties.py b/tests/test_type_properties.py index f7f00b3..3963cf7 100644 --- a/tests/test_type_properties.py +++ b/tests/test_type_properties.py @@ -25,7 +25,7 @@ def test_literals_can_check_by_identity(a: Tuple[int, ...], b: Tuple[int, ...]): def test_literal_hashes_consistently(): - assert {Literal[1]: 1}[Literal[1]] == 1 # type: ignore + assert {Literal[1]: 1}[Literal[1]] == 1 assert hash(Literal[1, 2]) == hash(Literal[1, 2])