Update typing_extensions imports in third-party stubs (#11245)

This commit is contained in:
Sebastian Rittau
2024-01-05 15:40:13 +01:00
committed by GitHub
parent 1b471a9a0a
commit b6eaadcfe5
488 changed files with 715 additions and 845 deletions

View File

@@ -4,8 +4,8 @@ from __future__ import annotations
from _typeshed import ReadableBuffer
from datetime import date, datetime, time
from typing import Any, List, Tuple, Union
from typing_extensions import Literal, assert_type
from typing import Any, List, Literal, Tuple, Union
from typing_extensions import assert_type
from openpyxl.descriptors import Strict
from openpyxl.descriptors.base import (

View File

@@ -4,8 +4,8 @@
# These tests are essentially a mirror of check_base_descriptors
from __future__ import annotations
from typing import Union, cast
from typing_extensions import Literal, assert_type
from typing import Literal, Union, cast
from typing_extensions import assert_type
from openpyxl.descriptors import Strict
from openpyxl.descriptors.nested import (

View File

@@ -1,6 +1,6 @@
from _typeshed import StrPath, SupportsRead
from typing import IO, Protocol
from typing_extensions import Literal, TypeAlias
from typing import IO, Literal, Protocol
from typing_extensions import TypeAlias
from openpyxl.compat.numbers import NUMPY as NUMPY
from openpyxl.reader.excel import load_workbook as load_workbook

View File

@@ -1,8 +1,7 @@
from _typeshed import ReadableBuffer
from datetime import datetime
from re import Pattern
from typing import overload
from typing_extensions import Final, Literal
from typing import Final, Literal, overload
from openpyxl.cell import _CellValue, _TimeTypes
from openpyxl.comments.comments import Comment

View File

@@ -1,5 +1,5 @@
from _typeshed import Incomplete
from typing_extensions import Final
from typing import Final
from openpyxl.cell import _CellValue
from openpyxl.styles.alignment import Alignment

View File

@@ -1,6 +1,6 @@
from collections.abc import Iterable
from typing import overload
from typing_extensions import Literal, Self
from typing import Literal, overload
from typing_extensions import Self
from openpyxl.cell.text import InlineFont
from openpyxl.descriptors import Strict, String, Typed

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Integer, NoneSet, Typed, _ConvertibleToBool
from openpyxl.descriptors.nested import NestedString, NestedText, _NestedNoneSetParam

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.picture import PictureOptions
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.layout import Layout
from openpyxl.chart.legend import Legend

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import ChartLines, NumericAxis, SeriesAxis, TextAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, Self, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import Self, TypeAlias
from openpyxl.chart.layout import Layout
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import ChartLines, NumericAxis, SeriesAxis, TextAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import NumericAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.chart._3d import Surface, View3D
from openpyxl.chart.legend import Legend

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar, NoReturn, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, NoReturn, overload
from openpyxl.descriptors import Strict
from openpyxl.descriptors.base import Alias, Bool, Integer, String, Typed, _ConvertibleToBool

View File

@@ -1,4 +1,4 @@
from typing_extensions import Literal
from typing import Literal
from openpyxl.chart.data_source import NumFmt
from openpyxl.descriptors import Strict, Typed

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.data_source import NumDataSource
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.shapes import GraphicalProperties
from openpyxl.chart.text import RichText

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Typed
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.layout import Layout
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import ChartLines, NumericAxis, _BaseAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.picture import PictureOptions
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import _ConvertibleToBool
from openpyxl.descriptors.nested import NestedBool, NestedFloat, NestedNoneSet, _NestedNoneSetParam

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import ChartLines
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Unused
from typing import ClassVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, overload
from openpyxl.chart.label import DataLabel as _DataLabel
from openpyxl.chart.marker import Marker

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, Self
from typing import ClassVar, Literal
from typing_extensions import Self
from openpyxl.chart.layout import Layout
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToFloat
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Alias, Float, Typed
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import NumericAxis, TextAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,7 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from collections.abc import Generator
from typing import overload
from typing_extensions import Literal
from typing import Literal, overload
from openpyxl.descriptors import Strict
from openpyxl.descriptors.base import MinMax, String

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.axis import NumericAxis, TextAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.data_source import AxDataSource, NumDataSource, StrRef
from openpyxl.chart.error_bar import ErrorBars

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, NoneSet, Typed, _ConvertibleToBool
from openpyxl.descriptors.nested import EmptyTag

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.axis import ChartLines, NumericAxis, TextAxis
from openpyxl.chart.label import DataLabelList

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.axis import NumericAxis, SeriesAxis, TextAxis
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.data_source import StrRef
from openpyxl.descriptors.base import Alias, Typed

View File

@@ -1,6 +1,5 @@
from _typeshed import Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.layout import Layout
from openpyxl.chart.shapes import GraphicalProperties

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.chart.data_source import NumFmt
from openpyxl.chart.layout import Layout

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.axis import ChartLines
from openpyxl.descriptors.base import Typed

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl import _Decodable, _VisibilityType
from openpyxl.chartsheet.custom import CustomChartsheetViews

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, overload
from openpyxl import _VisibilityType
from openpyxl.descriptors.base import Bool, Integer, Set, Typed, _ConvertibleToBool

View File

@@ -1,5 +1,4 @@
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Bool, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Bool, Integer, String, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, Integer, Set, String, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Alias, Integer
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Bool, Integer, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from collections.abc import Generator
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.cell.text import Text
from openpyxl.comments.author import AuthorList

View File

@@ -1,5 +1,6 @@
from decimal import Decimal
from typing_extensions import Final, TypeAlias
from typing import Final
from typing_extensions import TypeAlias
# NOTE: Can't specify numpy as a dependency because openpyxl doesn't declare it as one
# import numpy

View File

@@ -1,5 +1,5 @@
import sys
from typing_extensions import Final
from typing import Final
VER: Final[sys._version_info]

View File

@@ -2,8 +2,8 @@ from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Readable
from collections.abc import Iterable, Sized
from datetime import datetime
from re import Pattern
from typing import Any, Generic, TypeVar, overload
from typing_extensions import Literal, TypeAlias
from typing import Any, Generic, Literal, TypeVar, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors import Strict
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from . import Integer, MatchPattern, MinMax, Strict, String
from .base import _M, _N

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Unused
from collections.abc import Iterable
from typing import Any, ClassVar, NoReturn, overload
from typing_extensions import Literal, TypeAlias
from typing import Any, ClassVar, Literal, NoReturn, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors import Strict
from openpyxl.descriptors.base import Bool, Convertible, Descriptor, Float, Integer, MinMax, NoneSet, Set, String

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToInt, Incomplete, SupportsIter
from collections.abc import Iterator
from typing import Any, ClassVar, Protocol
from typing_extensions import Final, Self
from typing import Any, ClassVar, Final, Protocol
from typing_extensions import Self
from openpyxl.descriptors import MetaSerialisable
from openpyxl.xml.functions import Element

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete
from typing import ClassVar, overload
from typing_extensions import Final, Literal, TypeAlias
from typing import ClassVar, Final, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors import Strict, Typed
from openpyxl.descriptors.base import Alias, Integer, MinMax, Set, _ConvertibleToBool

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt
from typing import ClassVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, overload
from openpyxl.chart.shapes import GraphicalProperties
from openpyxl.chart.text import RichText

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, Float, Integer, Set, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, Integer, MinMax, NoneSet, Set, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, Float, Integer, MinMax, NoneSet, Set, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import Coordinate, ExtensionList, Percentage

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Alias, Bool, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,8 +1,8 @@
from _typeshed import SupportsRead
from pathlib import Path
from types import ModuleType
from typing import Any
from typing_extensions import Literal, TypeAlias
from typing import Any, Literal
from typing_extensions import TypeAlias
# Is actually PIL.Image.Image
_PILImageImage: TypeAlias = Any

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Integer, MinMax, NoneSet, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.chart.shapes import GraphicalProperties
from openpyxl.descriptors.base import Alias, Bool, String, Typed, _ConvertibleToBool

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, NoneSet, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, NoneSet, Typed, _ConvertibleToBool
from openpyxl.descriptors.nested import NestedText

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, Integer, MinMax, NoneSet, Set, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import Coordinate, ExtensionList

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete, Unused
from collections.abc import Iterator
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Alias, Bool, Convertible, _ConvertibleToBool, _ConvertibleToMultiCellRange
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors import Float, Strict
from openpyxl.descriptors.base import Bool, Integer, NoneSet, Set, String, Typed, _ConvertibleToBool

View File

@@ -1,6 +1,7 @@
from _typeshed import Incomplete
from re import Pattern
from typing_extensions import Final, Literal, TypeAlias
from typing import Final, Literal
from typing_extensions import TypeAlias
_TokenTypesNotOperand: TypeAlias = Literal[
"LITERAL", "FUNC", "ARRAY", "PAREN", "SEP", "OPERATOR-PREFIX", "OPERATOR-INFIX", "OPERATOR-POSTFIX", "WHITE-SPACE"

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete
from re import Pattern
from typing_extensions import Final
from typing import Final
class TranslatorError(Exception): ...

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete
from datetime import datetime
from typing import ClassVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, overload
from openpyxl.descriptors import DateTime
from openpyxl.descriptors.base import Alias

View File

@@ -1,8 +1,8 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete
from collections.abc import Iterator
from datetime import datetime
from typing import Any, Generic, TypeVar
from typing_extensions import Final, Literal, Self, TypeAlias
from typing import Any, Final, Generic, Literal, TypeVar
from typing_extensions import Self, TypeAlias
from openpyxl.descriptors import Sequence, Strict
from openpyxl.descriptors.base import Bool, DateTime, Float, Integer, String, _ConvertibleToBool

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Typed
from openpyxl.descriptors.nested import NestedText

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete
from collections.abc import Generator
from typing import ClassVar
from typing_extensions import Final, Literal
from typing import ClassVar, Final, Literal
from openpyxl.descriptors.base import String
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete, Unused
from collections.abc import Generator
from typing import ClassVar, TypeVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, TypeVar, overload
from zipfile import ZipFile
from openpyxl.descriptors.base import Alias, String

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl import _VisibilityType
from openpyxl.descriptors.base import Alias, Bool, Integer, NoneSet, String, Typed, _ConvertibleToBool

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from datetime import datetime
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, DateTime, Float, Integer, Set, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,7 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete
from datetime import datetime
from typing import ClassVar, overload
from typing_extensions import Literal
from typing import ClassVar, Literal, overload
from openpyxl.descriptors.base import Bool, DateTime, Float, Integer, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Typed
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar, overload
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal, overload
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, Integer, NoneSet, Set, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,5 +1,6 @@
from _typeshed import Incomplete
from typing_extensions import Final, Literal, TypeAlias
from typing import Final, Literal
from typing_extensions import TypeAlias
from zipfile import ZipFile
from openpyxl import _ZipFileFileProtocol

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToFloat, Incomplete
from collections.abc import Iterator
from typing import ClassVar
from typing_extensions import Final, Literal, TypeAlias
from typing import ClassVar, Final, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, Min, MinMax, NoneSet, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,7 +1,7 @@
from _typeshed import Incomplete
from collections.abc import Iterator
from typing import ClassVar
from typing_extensions import Final, Literal, TypeAlias
from typing import ClassVar, Final, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Alias, Bool, NoneSet, Typed, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,8 +1,8 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from array import array
from collections.abc import Iterable, MutableSequence
from typing import ClassVar, Generic, TypeVar
from typing_extensions import Literal, Self
from typing import ClassVar, Generic, Literal, TypeVar
from typing_extensions import Self
from openpyxl.descriptors.base import Bool, Integer, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,8 +1,8 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt, Incomplete, Unused
from collections.abc import Iterator
from re import Pattern
from typing import ClassVar, TypeVar, overload
from typing_extensions import Final, Literal, Self
from typing import ClassVar, Final, Literal, TypeVar, overload
from typing_extensions import Self
from openpyxl.descriptors import Strict, Typed
from openpyxl.descriptors.base import _N, Bool, Integer, MinMax, String, _ConvertibleToBool

View File

@@ -1,6 +1,5 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, SupportsIndex
from typing import ClassVar, Literal, SupportsIndex
from openpyxl.descriptors.base import Alias, Typed
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToFloat, Incomplete, Unused
from collections.abc import Iterable, Iterator, Sequence as ABCSequence
from typing import ClassVar
from typing_extensions import Final, Literal, TypeAlias
from typing import ClassVar, Final, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors import Sequence, Strict
from openpyxl.descriptors.base import Alias, Float, MinMax, NoneSet, Set

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToFloat, ConvertibleToInt
from typing import ClassVar
from typing_extensions import Final, Literal, Self, TypeAlias
from typing import ClassVar, Final, Literal
from typing_extensions import Self, TypeAlias
from openpyxl.descriptors.base import Alias, _ConvertibleToBool
from openpyxl.descriptors.nested import (

View File

@@ -1,7 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from collections.abc import Iterator
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Bool, Integer, String, Typed, _ConvertibleToBool
from openpyxl.descriptors.excel import ExtensionList

View File

@@ -1,7 +1,7 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from re import Pattern
from typing import ClassVar, overload
from typing_extensions import Final, Literal, SupportsIndex, TypeGuard
from typing import ClassVar, Final, Literal, SupportsIndex, overload
from typing_extensions import TypeGuard
from openpyxl.descriptors import Strict, String
from openpyxl.descriptors.base import Integer

View File

@@ -1,5 +1,4 @@
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Bool, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete, Unused
from typing import ClassVar, TypeVar
from typing_extensions import Literal, Self
from typing import ClassVar, Literal, TypeVar
from typing_extensions import Self
from zipfile import ZipFile
from openpyxl.descriptors.base import Typed

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from openpyxl.descriptors.base import Bool, Integer, Set, String, _ConvertibleToBool
from openpyxl.descriptors.serialisable import Serialisable

View File

@@ -1,6 +1,7 @@
from collections.abc import Generator
from re import Pattern
from typing_extensions import Final, TypeAlias
from typing import Final
from typing_extensions import TypeAlias
# "1:1" | "A1:A1" | "A:A"
_RangeBoundariesTuple: TypeAlias = tuple[None, int, None, int] | tuple[int, int, int, int] | tuple[int, None, int, None]

View File

@@ -1,6 +1,6 @@
from datetime import datetime
from re import Pattern
from typing_extensions import Final
from typing import Final
MAC_EPOCH: Final[datetime]
WINDOWS_EPOCH: Final[datetime]

View File

@@ -1,4 +1,4 @@
from typing_extensions import Final
from typing import Final
FORMULAE: Final[frozenset[str]]

View File

@@ -1,5 +1,5 @@
from re import Pattern
from typing_extensions import Final
from typing import Final
PERCENT_REGEX: Final[Pattern[str]]
TIME_REGEX: Final[Pattern[str]]

View File

@@ -1,4 +1,4 @@
from typing_extensions import Final
from typing import Final
DEFAULT_ROW_HEIGHT: Final[float]
BASE_COL_WIDTH: Final = 8

View File

@@ -1,6 +1,6 @@
from collections.abc import Iterable
from re import Pattern
from typing_extensions import Final
from typing import Final
from openpyxl import _Decodable
from openpyxl.workbook.workbook import Workbook

View File

@@ -2,8 +2,7 @@ from _typeshed import ConvertibleToInt, Incomplete
from collections import defaultdict
from collections.abc import Generator, Iterator
from re import Pattern
from typing import ClassVar
from typing_extensions import Final, Literal
from typing import ClassVar, Final, Literal
from openpyxl.descriptors import Sequence
from openpyxl.descriptors.base import Alias, Bool, Integer, String, _ConvertibleToBool

View File

@@ -1,6 +1,6 @@
from _typeshed import ConvertibleToInt, Incomplete, Unused
from typing import ClassVar
from typing_extensions import Literal, TypeAlias
from typing import ClassVar, Literal
from typing_extensions import TypeAlias
from zipfile import ZipFile
from openpyxl.descriptors.base import Bool, Integer, NoneSet, String, Typed, _ConvertibleToBool

View File

@@ -1,6 +1,5 @@
from _typeshed import ConvertibleToInt, Incomplete
from typing import ClassVar
from typing_extensions import Literal
from typing import ClassVar, Literal
from openpyxl.descriptors.base import Integer, String
from openpyxl.descriptors.serialisable import Serialisable

Some files were not shown because too many files have changed in this diff Show More