A new shade of Black (#11362)

This commit is contained in:
Alex Waygood
2024-02-05 00:38:55 +00:00
committed by GitHub
parent 7a6a749449
commit c49c84f319
76 changed files with 190 additions and 106 deletions
+3 -4
View File
@@ -155,10 +155,9 @@ class DisplayUnitsLabelList(Serialisable):
def __init__(
self,
custUnit: _HasTagAndGet[ConvertibleToFloat | None] | ConvertibleToFloat | None = None,
builtInUnit: _HasTagAndGet[_DisplayUnitsLabelListBuiltInUnit]
| _DisplayUnitsLabelListBuiltInUnit
| Literal["none"]
| None = None,
builtInUnit: (
_HasTagAndGet[_DisplayUnitsLabelListBuiltInUnit] | _DisplayUnitsLabelListBuiltInUnit | Literal["none"] | None
) = None,
dispUnitsLbl: DisplayUnitsLabel | None = None,
extLst: Unused = None,
) -> None: ...
+8 -3
View File
@@ -18,9 +18,14 @@ class NestedBoolText(Bool[Incomplete], NestedText[Incomplete, Incomplete]): ...
class _TypedProperty(Strict, Generic[_T]):
name: String[Literal[False]]
# Since this is internal, just list all possible values
value: Integer[Literal[False]] | Float[Literal[False]] | String[Literal[True]] | DateTime[Literal[False]] | Bool[
Literal[False]
] | String[Literal[False]]
value: (
Integer[Literal[False]]
| Float[Literal[False]]
| String[Literal[True]]
| DateTime[Literal[False]]
| Bool[Literal[False]]
| String[Literal[False]]
)
def __init__(self, name: str, value: _T) -> None: ...
def __eq__(self, other: _TypedProperty[Any]) -> bool: ... # type: ignore[override]
@@ -231,11 +231,13 @@ class Worksheet(_WorkbookChild):
) -> None: ...
def append(
self,
iterable: list[Incomplete]
| tuple[Incomplete, ...]
| range
| GeneratorType[Incomplete, object, object]
| dict[int | str, Incomplete],
iterable: (
list[Incomplete]
| tuple[Incomplete, ...]
| range
| GeneratorType[Incomplete, object, object]
| dict[int | str, Incomplete]
),
) -> None: ...
def insert_rows(self, idx: int, amount: int = 1) -> None: ...
def insert_cols(self, idx: int, amount: int = 1) -> None: ...