Skip to content

Commit

Permalink
Fixup linting of mashumaro helper stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm committed Aug 15, 2024
1 parent cc6f9dc commit 2e940a0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions third-party-stubs/mashumaro/core/meta/helpers.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ def is_typed_dict(typ: Type[Any]) -> bool: ...
def is_named_tuple(typ: Type[Any]) -> bool: ...
def is_new_type(typ: Type[Any]) -> bool: ...
def is_union(typ: Type[Any]) -> bool: ...
def is_optional(typ: Type[Any], resolved_type_params: Optional[Dict[Type[Any], Type[Any]]] = ...) -> bool: ...
def is_optional(
typ: Type[Any], resolved_type_params: Optional[Dict[Type[Any], Type[Any]]] = ...
) -> bool: ...
def is_annotated(typ: Type[Any]) -> bool: ...
def get_type_annotations(typ: Type[Any]) -> Sequence[Any]: ...
def is_literal(typ: Type[Any]) -> bool: ...
def not_none_type_arg(
type_args: Tuple[Type[Any], ...], resolved_type_params: Optional[Dict[Type[Any], Type[Any]]] = ...
type_args: Tuple[Type[Any], ...],
resolved_type_params: Optional[Dict[Type[Any], Type[Any]]] = ...,
) -> Optional[Type[Any]]: ...
def is_type_var(typ: Type[Any]) -> bool: ...
def is_type_var_any(typ: Type[Any]) -> bool: ...
Expand All @@ -47,7 +50,9 @@ def collect_type_params(typ: Type[Any]) -> Sequence[Type[Any]]: ...
def resolve_type_params(
typ: Type[Any], type_args: Sequence[Type[Any]] = ..., include_bases: bool = ...
) -> Dict[Type[Any], Dict[Type[Any], Type[Any]]]: ...
def substitute_type_params(typ: Type[Any], substitutions: Dict[Type[Any], Type[Any]]) -> Type[Any]: ...
def substitute_type_params(
typ: Type[Any], substitutions: Dict[Type[Any], Type[Any]]
) -> Type[Any]: ...
def get_name_error_name(e: NameError) -> str: ...
def is_dialect_subclass(typ: Type[Any]) -> bool: ...
def is_self(typ: Type[Any]) -> bool: ...
Expand All @@ -58,9 +63,7 @@ def get_function_arg_annotation(
arg_name: Optional[str] = ...,
arg_pos: Optional[int] = ...,
) -> Type[Any]: ...
def get_function_return_annotation(
function: Callable[[Any], Any]
) -> Type[Any]: ...
def get_function_return_annotation(function: Callable[[Any], Any]) -> Type[Any]: ...
def is_unpack(typ: Type[Any]) -> bool: ...
def is_type_var_tuple(typ: Type[Any]) -> bool: ...
def hash_type_args(type_args: Iterable[Type[Any]]) -> str: ...
Expand Down

0 comments on commit 2e940a0

Please sign in to comment.