Remove remaining bare Incompletes (#11768)

Enable Y065
This commit is contained in:
Sebastian Rittau
2024-04-16 15:26:14 +02:00
committed by GitHub
parent 7c8e82fe48
commit 7d56cd9a6c
33 changed files with 110 additions and 100 deletions
+1 -6
View File
@@ -80,12 +80,7 @@ class tqdm_discord(tqdm_auto[_T]):
**kwargs,
) -> None: ...
def display(
self,
msg: str | None = ...,
pos: int | None = ...,
close: bool = ...,
bar_style: Incomplete = ...,
check_delay: bool = ...,
self, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
) -> None: ...
def clear(self, *args, **kwargs) -> None: ...
+3 -1
View File
@@ -84,7 +84,9 @@ class tqdm_slack(tqdm_auto[_T]):
channel: int = ...,
**kwargs,
) -> None: ...
def display(self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style: Incomplete = ..., check_delay: bool = ...) -> None: ... # type: ignore[override]
def display( # type: ignore[override]
self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
) -> None: ...
def clear(self, *args, **kwargs) -> None: ...
def tsrange(*args, **kwargs) -> tqdm_slack[int]: ...
+3 -1
View File
@@ -89,7 +89,9 @@ class tqdm_telegram(tqdm_auto[_T]):
chat_id: str = ...,
**kwargs,
) -> None: ...
def display(self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style: Incomplete = ..., check_delay: bool = ...) -> None: ... # type: ignore[override]
def display( # type: ignore[override]
self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
) -> None: ...
def clear(self, *args, **kwargs) -> None: ...
def close(self) -> None: ...
+3 -3
View File
@@ -13,10 +13,10 @@ _T = TypeVar("_T")
class _ProgressColumn(ABC):
max_refresh: float | None
def __init__(self, table_column: Incomplete | None = ...) -> None: ...
def get_table_column(self) -> Incomplete: ...
def __call__(self, task: Incomplete) -> Incomplete: ...
def get_table_column(self): ...
def __call__(self, task): ...
@abstractmethod
def render(self, task: Incomplete) -> Incomplete: ...
def render(self, task): ...
class FractionColumn(_ProgressColumn):
unit_scale: bool