Skip to content

Commit

Permalink
Suppress arg-type mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Jan 19, 2024
1 parent 5adc444 commit cc9fe08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gt4py/eve/datamodels/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def concretize(
""" # noqa: RST301 # doctest conventions confuse RST validator
concrete_cls: Type[DataModelT] = _make_concrete_with_cache(
datamodel_cls, *type_args, class_name=class_name, module=module
datamodel_cls, *type_args, class_name=class_name, module=module # type: ignore[arg-type]
)
assert isinstance(concrete_cls, type) and is_datamodel(concrete_cls)

Expand Down Expand Up @@ -1291,7 +1291,7 @@ def _make_datamodel( # noqa: C901 # too complex but still readable and documen

@utils.optional_lru_cache(maxsize=None, typed=True)
def _make_concrete_with_cache(
datamodel_cls: Type,
datamodel_cls: Type[GenericDataModelT],
*type_args: Type,
class_name: Optional[str] = None,
module: Optional[str] = None,
Expand Down

0 comments on commit cc9fe08

Please sign in to comment.