Skip to content

Commit 0f3af96

Browse files
build: upgrade mypy to version supporting python 3.12
1 parent 0bf3bd0 commit 0f3af96

4 files changed

Lines changed: 36 additions & 39 deletions

File tree

poetry.lock

Lines changed: 33 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ black = "24.3.0"
8181
astroid = "3.3.9"
8282
isort = "5.13.2"
8383
pylint = "3.3.9"
84-
mypy = "0.991"
84+
mypy = "1.11.2"
8585
boto3-stubs = {extras = ["essential"], version = "1.26.72"}
8686
botocore-stubs = "1.29.72"
8787
pandas-stubs = "1.2.0.62"

src/dve/core_engine/backends/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def stringify_type(type_: Union[type, GenericAlias]) -> type:
5252

5353
origin = get_origin(type_)
5454
if origin is None: # A non-generic container type, return as-is
55-
return type_
55+
return type_ # type: ignore
5656

5757
type_args = get_args(type_)
5858
if not type_args:

src/dve/pipeline/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def data_contract(self) -> BaseDataContract:
107107
@property
108108
def step_implementations(self) -> Optional[BaseStepImplementations[EntityType]]:
109109
"""The step implementations to apply the business rules to a given dataset"""
110-
return self._step_implementations
110+
return self._step_implementations # type: ignore
111111

112112
@staticmethod
113113
def get_entity_count(entity: EntityType) -> int:

0 commit comments

Comments
 (0)