From 53fbffae92dcf4494052823cf8c32779578593be Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 2 Aug 2023 12:30:10 +0000 Subject: [PATCH 1/3] Update dependency pyright to v1.1.320 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 81a6b80..0b815eb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,7 +8,7 @@ black==23.7.0 isort==5.12.0 docformatter==1.7.5 mypy==1.4.1 -pyright==1.1.318 +pyright==1.1.320 # stubs pandas-stubs==2.0.2.230605 types-setuptools==68.0.0.3 From f8e57ec1d6e0a12c07459232ebbcd6e671d46587 Mon Sep 17 00:00:00 2001 From: nanne-aben <47976799+nanne-aben@users.noreply.github.com> Date: Wed, 2 Aug 2023 15:30:24 +0200 Subject: [PATCH 2/3] Update get_schema_imports.py --- typedspark/_schema/get_schema_imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typedspark/_schema/get_schema_imports.py b/typedspark/_schema/get_schema_imports.py index 4cee159..2a9734d 100644 --- a/typedspark/_schema/get_schema_imports.py +++ b/typedspark/_schema/get_schema_imports.py @@ -102,7 +102,7 @@ def _typing_imports(encountered_datatypes: set[Type[DataType]], include_document if len(imports) > 0: imports = sorted(imports) - imports_string = ", ".join(imports) + imports_string = ", ".join(imports) # typing: ignore return f"from typing import {imports_string}\n\n" return "" From 7ce471a04b437da2867e64a66aea9b6b35e2500c Mon Sep 17 00:00:00 2001 From: Nanne Aben Date: Wed, 2 Aug 2023 15:36:48 +0200 Subject: [PATCH 3/3] update --- typedspark/_schema/get_schema_imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typedspark/_schema/get_schema_imports.py b/typedspark/_schema/get_schema_imports.py index 2a9734d..0a9f1f5 100644 --- a/typedspark/_schema/get_schema_imports.py +++ b/typedspark/_schema/get_schema_imports.py @@ -102,7 +102,7 @@ def _typing_imports(encountered_datatypes: set[Type[DataType]], include_document if len(imports) > 0: imports = sorted(imports) - imports_string = ", ".join(imports) # typing: ignore + imports_string = ", ".join(imports) # type: ignore return f"from typing import {imports_string}\n\n" return ""