mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Bump mypy to 0.981 (#8796)
This commit is contained in:
@@ -13,7 +13,9 @@ def logging_redirect_tqdm(
|
||||
) -> _GeneratorContextManager[None]: ...
|
||||
|
||||
# TODO type *args, **kwargs here more precisely
|
||||
# The type ignore is because mypy complains that the second overload will never be matched
|
||||
# (I'm not sure that's true)
|
||||
@overload
|
||||
def tqdm_logging_redirect(*args, tqdm_class: Callable[..., _TqdmT], **kwargs) -> _GeneratorContextManager[_TqdmT]: ...
|
||||
@overload
|
||||
def tqdm_logging_redirect(*args, **kwargs) -> _GeneratorContextManager[std_tqdm[Incomplete]]: ...
|
||||
def tqdm_logging_redirect(*args, **kwargs) -> _GeneratorContextManager[std_tqdm[Incomplete]]: ... # type: ignore[misc]
|
||||
|
||||
Reference in New Issue
Block a user