mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 20:11:23 +08:00
Third-party stubs: remove unused type: ignores (#11063)
This commit is contained in:
1 parent
b04e50d522
commit
1d2fe59e88
21 files changed
+41
-44
No files matched your search
@@ -13,9 +13,7 @@ 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]]: ... # type: ignore[misc]
|
||||
def tqdm_logging_redirect(*args, **kwargs) -> _GeneratorContextManager[std_tqdm[Incomplete]]: ...
|
||||
Reference in new issue
Block a user