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 diff --git a/typedspark/_schema/get_schema_imports.py b/typedspark/_schema/get_schema_imports.py index 4cee159..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) + imports_string = ", ".join(imports) # type: ignore return f"from typing import {imports_string}\n\n" return ""