basedpyright 1.18.3 → 1.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +2 -0
- package/dist/typeshed-fallback/stdlib/_ast.pyi +140 -1667
- package/dist/typeshed-fallback/stdlib/_csv.pyi +14 -3
- package/dist/typeshed-fallback/stdlib/_curses.pyi +857 -65
- package/dist/typeshed-fallback/stdlib/_decimal.pyi +29 -820
- package/dist/typeshed-fallback/stdlib/_socket.pyi +4 -12
- package/dist/typeshed-fallback/stdlib/_sqlite3.pyi +387 -0
- package/dist/typeshed-fallback/stdlib/_ssl.pyi +406 -0
- package/dist/typeshed-fallback/stdlib/_weakref.pyi +2 -41
- package/dist/typeshed-fallback/stdlib/ast.pyi +1843 -172
- package/dist/typeshed-fallback/stdlib/builtins.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/cProfile.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/calendar.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +6 -8
- package/dist/typeshed-fallback/stdlib/csv.pyi +4 -3
- package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/curses/panel.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/decimal.pyi +840 -2
- package/dist/typeshed-fallback/stdlib/email/_policybase.pyi +27 -18
- package/dist/typeshed-fallback/stdlib/email/feedparser.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/email/generator.pyi +46 -9
- package/dist/typeshed-fallback/stdlib/email/message.pyi +8 -6
- package/dist/typeshed-fallback/stdlib/email/parser.pyi +6 -4
- package/dist/typeshed-fallback/stdlib/email/policy.pyi +28 -10
- package/dist/typeshed-fallback/stdlib/http/client.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/io.pyi +6 -22
- package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +27 -19
- package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/profile.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +1 -5
- package/dist/typeshed-fallback/stdlib/re.pyi +10 -1
- package/dist/typeshed-fallback/stdlib/socket.pyi +12 -4
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +739 -1
- package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +220 -884
- package/dist/typeshed-fallback/stdlib/sre_constants.pyi +1 -8
- package/dist/typeshed-fallback/stdlib/ssl.pyi +40 -128
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +111 -6
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +127 -21
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/typing.pyi +7 -7
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/weakref.pyi +49 -14
- package/dist/typeshed-fallback/stdlib/xml/parsers/expat/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/xmlrpc/server.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +41 -44
- package/dist/typeshed-fallback/stdlib/zoneinfo/_common.pyi +13 -0
- package/dist/typeshed-fallback/stdlib/zoneinfo/_tzpath.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +1 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +15 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/readers/doctree.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +21 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +4 -4
- package/dist/typeshed-fallback/stubs/greenlet/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +5 -2
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +49 -5
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +32 -6
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/caselessdict.pyi +2 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +25 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +7 -3
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +112 -72
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/provider.pyi +29 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/pytz.pyi +22 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +30 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/zoneinfo.pyi +33 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +2 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/version.pyi +8 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/common.pyi +48 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwa.pyi +35 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwe.pyi +51 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +115 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jws.pyi +52 -0
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwt.pyi +78 -0
- package/dist/typeshed-fallback/stubs/m3u8/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/__init__.pyi +74 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +19 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/mixins.pyi +25 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/model.pyi +406 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/parser.pyi +14 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/protocol.pyi +41 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/version_matching.pyi +5 -0
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/version_matching_rules.pyi +24 -0
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +0 -1
- package/dist/typeshed-fallback/stubs/pytz/pytz/__init__.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pytz/pytz/tzinfo.pyi +1 -1
- package/dist/typeshed-fallback/stubs/qrcode/METADATA.toml +3 -2
- package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +18 -0
- package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +2 -2
- package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +9 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +11 -2
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/change_tz.pyi +4 -0
- package/dist/typeshed-fallback/stubs/vobject/vobject/ics_diff.pyi +0 -3
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +1 -1
- package/dist/typeshed-fallback/stubs/waitress/waitress/__init__.pyi +2 -2
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/Pillow/METADATA.toml +0 -8
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BdfFontFile.pyi +0 -11
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BlpImagePlugin.pyi +0 -39
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BmpImagePlugin.pyi +0 -25
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BufrStubImagePlugin.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ContainerIO.pyi +0 -14
- package/dist/typeshed-fallback/stubs/Pillow/PIL/CurImagePlugin.pyi +0 -6
- package/dist/typeshed-fallback/stubs/Pillow/PIL/DcxImagePlugin.pyi +0 -13
- package/dist/typeshed-fallback/stubs/Pillow/PIL/DdsImagePlugin.pyi +0 -314
- package/dist/typeshed-fallback/stubs/Pillow/PIL/EpsImagePlugin.pyi +0 -34
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ExifTags.pyi +0 -347
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FitsImagePlugin.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FliImagePlugin.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FontFile.pyi +0 -16
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FpxImagePlugin.pyi +0 -23
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FtexImagePlugin.pyi +0 -15
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GbrImagePlugin.pyi +0 -11
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GdImageFile.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GifImagePlugin.pyi +0 -31
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GimpGradientFile.pyi +0 -19
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GimpPaletteFile.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/GribStubImagePlugin.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Hdf5StubImagePlugin.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/IcnsImagePlugin.pyi +0 -36
- package/dist/typeshed-fallback/stubs/Pillow/PIL/IcoImagePlugin.pyi +0 -26
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImImagePlugin.pyi +0 -34
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +0 -342
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageChops.pyi +0 -23
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageCms.pyi +0 -84
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageColor.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageDraw.pyi +0 -155
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageDraw2.pyi +0 -37
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageEnhance.pyi +0 -25
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFile.pyi +0 -89
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFilter.pyi +0 -136
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFont.pyi +0 -114
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageGrab.pyi +0 -36
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMath.pyi +0 -49
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMode.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMorph.pyi +0 -26
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageOps.pyi +0 -53
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImagePalette.pyi +0 -26
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImagePath.pyi +0 -3
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageQt.pyi +0 -26
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageSequence.pyi +0 -14
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageShow.pyi +0 -58
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageStat.pyi +0 -14
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +0 -51
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTransform.pyi +0 -21
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageWin.pyi +0 -38
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImtImagePlugin.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/IptcImagePlugin.pyi +0 -23
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Jpeg2KImagePlugin.pyi +0 -23
- package/dist/typeshed-fallback/stubs/Pillow/PIL/JpegImagePlugin.pyi +0 -30
- package/dist/typeshed-fallback/stubs/Pillow/PIL/JpegPresets.pyi +0 -3
- package/dist/typeshed-fallback/stubs/Pillow/PIL/McIdasImagePlugin.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/MicImagePlugin.pyi +0 -18
- package/dist/typeshed-fallback/stubs/Pillow/PIL/MpegImagePlugin.pyi +0 -18
- package/dist/typeshed-fallback/stubs/Pillow/PIL/MpoImagePlugin.pyi +0 -15
- package/dist/typeshed-fallback/stubs/Pillow/PIL/MspImagePlugin.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PSDraw.pyi +0 -19
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PaletteFile.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PalmImagePlugin.pyi +0 -5
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PcdImagePlugin.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PcfFontFile.pyi +0 -25
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PcxImagePlugin.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +0 -167
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PixarImagePlugin.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PngImagePlugin.pyi +0 -115
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PpmImagePlugin.pyi +0 -17
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PsdImagePlugin.pyi +0 -17
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +0 -69
- package/dist/typeshed-fallback/stubs/Pillow/PIL/QoiImagePlugin.pyi +0 -11
- package/dist/typeshed-fallback/stubs/Pillow/PIL/SgiImagePlugin.pyi +0 -13
- package/dist/typeshed-fallback/stubs/Pillow/PIL/SpiderImagePlugin.pyi +0 -28
- package/dist/typeshed-fallback/stubs/Pillow/PIL/SunImagePlugin.pyi +0 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/TarIO.pyi +0 -12
- package/dist/typeshed-fallback/stubs/Pillow/PIL/TgaImagePlugin.pyi +0 -12
- package/dist/typeshed-fallback/stubs/Pillow/PIL/TiffImagePlugin.pyi +0 -295
- package/dist/typeshed-fallback/stubs/Pillow/PIL/TiffTags.pyi +0 -46
- package/dist/typeshed-fallback/stubs/Pillow/PIL/WalImageFile.pyi +0 -14
- package/dist/typeshed-fallback/stubs/Pillow/PIL/WebPImagePlugin.pyi +0 -18
- package/dist/typeshed-fallback/stubs/Pillow/PIL/WmfImagePlugin.pyi +0 -19
- package/dist/typeshed-fallback/stubs/Pillow/PIL/XVThumbImagePlugin.pyi +0 -9
- package/dist/typeshed-fallback/stubs/Pillow/PIL/XbmImagePlugin.pyi +0 -10
- package/dist/typeshed-fallback/stubs/Pillow/PIL/XpmImagePlugin.pyi +0 -11
- package/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_binary.pyi +0 -13
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +0 -29
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_tkinter_finder.pyi +0 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_version.pyi +0 -1
- package/dist/typeshed-fallback/stubs/Pillow/PIL/features.pyi +0 -23
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone_cache.pyi +0 -0
- /package/dist/typeshed-fallback/stubs/icalendar/icalendar/{windows_to_olson.pyi → timezone/windows_to_olson.pyi} +0 -0
- /package/dist/typeshed-fallback/stubs/{Pillow/PIL/PdfImagePlugin.pyi → jwcrypto/jwcrypto/__init__.pyi} +0 -0
|
@@ -31,12 +31,21 @@ class VBase:
|
|
|
31
31
|
def transformFromNative(self): ...
|
|
32
32
|
def transformChildrenToNative(self) -> None: ...
|
|
33
33
|
def transformChildrenFromNative(self, clearBehavior: bool = True) -> None: ...
|
|
34
|
+
# Use Any because args and kwargs are passed to the behavior object
|
|
34
35
|
@overload
|
|
35
36
|
def serialize(
|
|
36
|
-
self,
|
|
37
|
+
self,
|
|
38
|
+
buf: None = None,
|
|
39
|
+
lineLength: int = 75,
|
|
40
|
+
validate: bool = True,
|
|
41
|
+
behavior: Incomplete | None = None,
|
|
42
|
+
*args: Any,
|
|
43
|
+
**kwargs: Any,
|
|
37
44
|
) -> str: ...
|
|
38
45
|
@overload
|
|
39
|
-
def serialize(
|
|
46
|
+
def serialize(
|
|
47
|
+
self, buf: _W, lineLength: int = 75, validate: bool = True, behavior: Incomplete | None = None, *args: Any, **kwargs: Any
|
|
48
|
+
) -> _W: ...
|
|
40
49
|
|
|
41
50
|
def toVName(name, stripNum: int = 0, upper: bool = False): ...
|
|
42
51
|
|
|
@@ -27,6 +27,6 @@ class Behavior:
|
|
|
27
27
|
@classmethod
|
|
28
28
|
def generateImplicitParameters(cls, obj) -> None: ...
|
|
29
29
|
@classmethod
|
|
30
|
-
def serialize(cls, obj, buf, lineLength, validate: bool = True): ...
|
|
30
|
+
def serialize(cls, obj, buf, lineLength, validate: bool = True, *args, **kwargs): ...
|
|
31
31
|
@classmethod
|
|
32
32
|
def valueRepr(cls, line): ...
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
from collections.abc import Sequence
|
|
2
|
+
|
|
1
3
|
def change_tz(cal, new_timezone, default, utc_only: bool = False, utc_tz=...) -> None: ...
|
|
4
|
+
def show_timezones() -> None: ...
|
|
5
|
+
def convert_events(utc_only: bool, args: Sequence[str]) -> None: ...
|
|
2
6
|
def main() -> None: ...
|
|
3
7
|
|
|
4
8
|
version: str
|
|
@@ -77,7 +77,7 @@ class Photo(VCardTextBehavior):
|
|
|
77
77
|
@classmethod
|
|
78
78
|
def valueRepr(cls, line): ...
|
|
79
79
|
@classmethod
|
|
80
|
-
def serialize(cls, obj, buf, lineLength, validate) -> None: ... # type: ignore[override]
|
|
80
|
+
def serialize(cls, obj, buf, lineLength, validate, *args, **kwargs) -> None: ... # type: ignore[override]
|
|
81
81
|
|
|
82
82
|
def toListOrString(string): ...
|
|
83
83
|
def splitFields(string): ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Unused
|
|
2
2
|
from _typeshed.wsgi import WSGIApplication
|
|
3
|
-
from collections.abc import Callable, Iterable
|
|
3
|
+
from collections.abc import Callable, Iterable, Mapping
|
|
4
4
|
from typing import Any, Literal
|
|
5
5
|
|
|
6
6
|
from waitress.adjustments import _AdjustmentsParams
|
|
@@ -15,4 +15,4 @@ def serve(
|
|
|
15
15
|
**kw: _AdjustmentsParams,
|
|
16
16
|
) -> None: ...
|
|
17
17
|
def serve_paste(app: WSGIApplication, global_conf: Unused, **kw: _AdjustmentsParams) -> Literal[0]: ...
|
|
18
|
-
def profile(cmd: str, globals: dict[str, Any], locals:
|
|
18
|
+
def profile(cmd: str, globals: dict[str, Any], locals: Mapping[str, Any], sort_order: Iterable[str], callers: bool) -> None: ...
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "basedpyright",
|
|
3
3
|
"displayName": "basedpyright",
|
|
4
4
|
"description": "a pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server",
|
|
5
|
-
"version": "1.18.
|
|
5
|
+
"version": "1.18.4",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "detachhead"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
version = "10.2.*"
|
|
2
|
-
upstream_repository = "https://github.com/python-pillow/Pillow"
|
|
3
|
-
obsolete_since = "10.3.0" # Released on 2024-04-01
|
|
4
|
-
|
|
5
|
-
[tool.stubtest]
|
|
6
|
-
stubtest_requirements = ["olefile"]
|
|
7
|
-
# darwin checks don't affect stubtest
|
|
8
|
-
platforms = ["linux", "win32"]
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
from enum import IntEnum
|
|
3
|
-
from typing import ClassVar, Literal
|
|
4
|
-
|
|
5
|
-
from .ImageFile import ImageFile, PyDecoder, PyEncoder
|
|
6
|
-
|
|
7
|
-
class Format(IntEnum):
|
|
8
|
-
JPEG = 0
|
|
9
|
-
|
|
10
|
-
class Encoding(IntEnum):
|
|
11
|
-
UNCOMPRESSED = 1
|
|
12
|
-
DXT = 2
|
|
13
|
-
UNCOMPRESSED_RAW_BGRA = 3
|
|
14
|
-
|
|
15
|
-
class AlphaEncoding(IntEnum):
|
|
16
|
-
DXT1 = 0
|
|
17
|
-
DXT3 = 1
|
|
18
|
-
DXT5 = 7
|
|
19
|
-
|
|
20
|
-
def unpack_565(i): ...
|
|
21
|
-
def decode_dxt1(data, alpha: bool = False): ...
|
|
22
|
-
def decode_dxt3(data): ...
|
|
23
|
-
def decode_dxt5(data): ...
|
|
24
|
-
|
|
25
|
-
class BLPFormatError(NotImplementedError): ...
|
|
26
|
-
|
|
27
|
-
class BlpImageFile(ImageFile):
|
|
28
|
-
format: ClassVar[Literal["BLP"]]
|
|
29
|
-
format_description: ClassVar[str]
|
|
30
|
-
|
|
31
|
-
class _BLPBaseDecoder(PyDecoder):
|
|
32
|
-
magic: Incomplete
|
|
33
|
-
def decode(self, buffer): ...
|
|
34
|
-
|
|
35
|
-
class BLP1Decoder(_BLPBaseDecoder): ...
|
|
36
|
-
class BLP2Decoder(_BLPBaseDecoder): ...
|
|
37
|
-
|
|
38
|
-
class BLPEncoder(PyEncoder):
|
|
39
|
-
def encode(self, bufsize): ...
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
from typing import ClassVar, Final, Literal
|
|
3
|
-
|
|
4
|
-
from .ImageFile import ImageFile, PyDecoder
|
|
5
|
-
|
|
6
|
-
BIT2MODE: Incomplete
|
|
7
|
-
|
|
8
|
-
class BmpImageFile(ImageFile):
|
|
9
|
-
RAW: Final = 0
|
|
10
|
-
RLE8: Final = 1
|
|
11
|
-
RLE4: Final = 2
|
|
12
|
-
BITFIELDS: Final = 3
|
|
13
|
-
JPEG: Final = 4
|
|
14
|
-
PNG: Final = 5
|
|
15
|
-
format_description: ClassVar[str]
|
|
16
|
-
format: ClassVar[Literal["BMP", "DIB", "CUR"]]
|
|
17
|
-
COMPRESSIONS: Incomplete
|
|
18
|
-
|
|
19
|
-
class BmpRleDecoder(PyDecoder):
|
|
20
|
-
def decode(self, buffer): ...
|
|
21
|
-
|
|
22
|
-
class DibImageFile(BmpImageFile):
|
|
23
|
-
format: ClassVar[Literal["DIB"]]
|
|
24
|
-
|
|
25
|
-
SAVE: Incomplete
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
from typing import IO, AnyStr, Generic, Literal
|
|
2
|
-
|
|
3
|
-
class ContainerIO(Generic[AnyStr]):
|
|
4
|
-
fh: IO[AnyStr]
|
|
5
|
-
pos: int
|
|
6
|
-
offset: int
|
|
7
|
-
length: int
|
|
8
|
-
def __init__(self, file: IO[AnyStr], offset: int, length: int) -> None: ...
|
|
9
|
-
def isatty(self) -> bool: ...
|
|
10
|
-
def seek(self, offset: int, mode: Literal[0, 1, 2] = 0) -> None: ...
|
|
11
|
-
def tell(self) -> int: ...
|
|
12
|
-
def read(self, n: int = 0) -> AnyStr: ...
|
|
13
|
-
def readline(self) -> AnyStr: ...
|
|
14
|
-
def readlines(self) -> list[AnyStr]: ...
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
from typing import ClassVar, Literal
|
|
3
|
-
|
|
4
|
-
from .PcxImagePlugin import PcxImageFile
|
|
5
|
-
|
|
6
|
-
MAGIC: int
|
|
7
|
-
|
|
8
|
-
class DcxImageFile(PcxImageFile):
|
|
9
|
-
format: ClassVar[Literal["DCX"]]
|
|
10
|
-
frame: Incomplete
|
|
11
|
-
fp: Incomplete
|
|
12
|
-
def seek(self, frame) -> None: ...
|
|
13
|
-
def tell(self): ...
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
from enum import IntEnum, IntFlag
|
|
2
|
-
from typing import ClassVar, Final, Literal
|
|
3
|
-
|
|
4
|
-
from .ImageFile import ImageFile, PyDecoder
|
|
5
|
-
|
|
6
|
-
DDS_MAGIC: Final = 0x20534444
|
|
7
|
-
|
|
8
|
-
class DDSD(IntFlag):
|
|
9
|
-
CAPS = 0x1
|
|
10
|
-
HEIGHT = 0x2
|
|
11
|
-
WIDTH = 0x4
|
|
12
|
-
PITCH = 0x8
|
|
13
|
-
PIXELFORMAT = 0x1000
|
|
14
|
-
MIPMAPCOUNT = 0x20000
|
|
15
|
-
LINEARSIZE = 0x80000
|
|
16
|
-
DEPTH = 0x800000
|
|
17
|
-
|
|
18
|
-
class DDSCAPS(IntFlag):
|
|
19
|
-
COMPLEX = 0x8
|
|
20
|
-
TEXTURE = 0x1000
|
|
21
|
-
MIPMAP = 0x400000
|
|
22
|
-
|
|
23
|
-
class DDSCAPS2(IntFlag):
|
|
24
|
-
CUBEMAP = 0x200
|
|
25
|
-
CUBEMAP_POSITIVEX = 0x400
|
|
26
|
-
CUBEMAP_NEGATIVEX = 0x800
|
|
27
|
-
CUBEMAP_POSITIVEY = 0x1000
|
|
28
|
-
CUBEMAP_NEGATIVEY = 0x2000
|
|
29
|
-
CUBEMAP_POSITIVEZ = 0x4000
|
|
30
|
-
CUBEMAP_NEGATIVEZ = 0x8000
|
|
31
|
-
VOLUME = 0x200000
|
|
32
|
-
|
|
33
|
-
class DDPF(IntFlag):
|
|
34
|
-
ALPHAPIXELS = 0x1
|
|
35
|
-
ALPHA = 0x2
|
|
36
|
-
FOURCC = 0x4
|
|
37
|
-
PALETTEINDEXED8 = 0x20
|
|
38
|
-
RGB = 0x40
|
|
39
|
-
LUMINANCE = 0x20000
|
|
40
|
-
|
|
41
|
-
class DXGI_FORMAT(IntEnum):
|
|
42
|
-
UNKNOWN = 0
|
|
43
|
-
R32G32B32A32_TYPELESS = 1
|
|
44
|
-
R32G32B32A32_FLOAT = 2
|
|
45
|
-
R32G32B32A32_UINT = 3
|
|
46
|
-
R32G32B32A32_SINT = 4
|
|
47
|
-
R32G32B32_TYPELESS = 5
|
|
48
|
-
R32G32B32_FLOAT = 6
|
|
49
|
-
R32G32B32_UINT = 7
|
|
50
|
-
R32G32B32_SINT = 8
|
|
51
|
-
R16G16B16A16_TYPELESS = 9
|
|
52
|
-
R16G16B16A16_FLOAT = 10
|
|
53
|
-
R16G16B16A16_UNORM = 11
|
|
54
|
-
R16G16B16A16_UINT = 12
|
|
55
|
-
R16G16B16A16_SNORM = 13
|
|
56
|
-
R16G16B16A16_SINT = 14
|
|
57
|
-
R32G32_TYPELESS = 15
|
|
58
|
-
R32G32_FLOAT = 16
|
|
59
|
-
R32G32_UINT = 17
|
|
60
|
-
R32G32_SINT = 18
|
|
61
|
-
R32G8X24_TYPELESS = 19
|
|
62
|
-
D32_FLOAT_S8X24_UINT = 20
|
|
63
|
-
R32_FLOAT_X8X24_TYPELESS = 21
|
|
64
|
-
X32_TYPELESS_G8X24_UINT = 22
|
|
65
|
-
R10G10B10A2_TYPELESS = 23
|
|
66
|
-
R10G10B10A2_UNORM = 24
|
|
67
|
-
R10G10B10A2_UINT = 25
|
|
68
|
-
R11G11B10_FLOAT = 26
|
|
69
|
-
R8G8B8A8_TYPELESS = 27
|
|
70
|
-
R8G8B8A8_UNORM = 28
|
|
71
|
-
R8G8B8A8_UNORM_SRGB = 29
|
|
72
|
-
R8G8B8A8_UINT = 30
|
|
73
|
-
R8G8B8A8_SNORM = 31
|
|
74
|
-
R8G8B8A8_SINT = 32
|
|
75
|
-
R16G16_TYPELESS = 33
|
|
76
|
-
R16G16_FLOAT = 34
|
|
77
|
-
R16G16_UNORM = 35
|
|
78
|
-
R16G16_UINT = 36
|
|
79
|
-
R16G16_SNORM = 37
|
|
80
|
-
R16G16_SINT = 38
|
|
81
|
-
R32_TYPELESS = 39
|
|
82
|
-
D32_FLOAT = 40
|
|
83
|
-
R32_FLOAT = 41
|
|
84
|
-
R32_UINT = 42
|
|
85
|
-
R32_SINT = 43
|
|
86
|
-
R24G8_TYPELESS = 44
|
|
87
|
-
D24_UNORM_S8_UINT = 45
|
|
88
|
-
R24_UNORM_X8_TYPELESS = 46
|
|
89
|
-
X24_TYPELESS_G8_UINT = 47
|
|
90
|
-
R8G8_TYPELESS = 48
|
|
91
|
-
R8G8_UNORM = 49
|
|
92
|
-
R8G8_UINT = 50
|
|
93
|
-
R8G8_SNORM = 51
|
|
94
|
-
R8G8_SINT = 52
|
|
95
|
-
R16_TYPELESS = 53
|
|
96
|
-
R16_FLOAT = 54
|
|
97
|
-
D16_UNORM = 55
|
|
98
|
-
R16_UNORM = 56
|
|
99
|
-
R16_UINT = 57
|
|
100
|
-
R16_SNORM = 58
|
|
101
|
-
R16_SINT = 59
|
|
102
|
-
R8_TYPELESS = 60
|
|
103
|
-
R8_UNORM = 61
|
|
104
|
-
R8_UINT = 62
|
|
105
|
-
R8_SNORM = 63
|
|
106
|
-
R8_SINT = 64
|
|
107
|
-
A8_UNORM = 65
|
|
108
|
-
R1_UNORM = 66
|
|
109
|
-
R9G9B9E5_SHAREDEXP = 67
|
|
110
|
-
R8G8_B8G8_UNORM = 68
|
|
111
|
-
G8R8_G8B8_UNORM = 69
|
|
112
|
-
BC1_TYPELESS = 70
|
|
113
|
-
BC1_UNORM = 71
|
|
114
|
-
BC1_UNORM_SRGB = 72
|
|
115
|
-
BC2_TYPELESS = 73
|
|
116
|
-
BC2_UNORM = 74
|
|
117
|
-
BC2_UNORM_SRGB = 75
|
|
118
|
-
BC3_TYPELESS = 76
|
|
119
|
-
BC3_UNORM = 77
|
|
120
|
-
BC3_UNORM_SRGB = 78
|
|
121
|
-
BC4_TYPELESS = 79
|
|
122
|
-
BC4_UNORM = 80
|
|
123
|
-
BC4_SNORM = 81
|
|
124
|
-
BC5_TYPELESS = 82
|
|
125
|
-
BC5_UNORM = 83
|
|
126
|
-
BC5_SNORM = 84
|
|
127
|
-
B5G6R5_UNORM = 85
|
|
128
|
-
B5G5R5A1_UNORM = 86
|
|
129
|
-
B8G8R8A8_UNORM = 87
|
|
130
|
-
B8G8R8X8_UNORM = 88
|
|
131
|
-
R10G10B10_XR_BIAS_A2_UNORM = 89
|
|
132
|
-
B8G8R8A8_TYPELESS = 90
|
|
133
|
-
B8G8R8A8_UNORM_SRGB = 91
|
|
134
|
-
B8G8R8X8_TYPELESS = 92
|
|
135
|
-
B8G8R8X8_UNORM_SRGB = 93
|
|
136
|
-
BC6H_TYPELESS = 94
|
|
137
|
-
BC6H_UF16 = 95
|
|
138
|
-
BC6H_SF16 = 96
|
|
139
|
-
BC7_TYPELESS = 97
|
|
140
|
-
BC7_UNORM = 98
|
|
141
|
-
BC7_UNORM_SRGB = 99
|
|
142
|
-
AYUV = 100
|
|
143
|
-
Y410 = 101
|
|
144
|
-
Y416 = 102
|
|
145
|
-
NV12 = 103
|
|
146
|
-
P010 = 104
|
|
147
|
-
P016 = 105
|
|
148
|
-
OPAQUE_420 = 106
|
|
149
|
-
YUY2 = 107
|
|
150
|
-
Y210 = 108
|
|
151
|
-
Y216 = 109
|
|
152
|
-
NV11 = 110
|
|
153
|
-
AI44 = 111
|
|
154
|
-
IA44 = 112
|
|
155
|
-
P8 = 113
|
|
156
|
-
A8P8 = 114
|
|
157
|
-
B4G4R4A4_UNORM = 115
|
|
158
|
-
P208 = 130
|
|
159
|
-
V208 = 131
|
|
160
|
-
V408 = 132
|
|
161
|
-
SAMPLER_FEEDBACK_MIN_MIP_OPAQUE = 189
|
|
162
|
-
SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE = 190
|
|
163
|
-
|
|
164
|
-
class D3DFMT(IntEnum):
|
|
165
|
-
UNKNOWN = 0
|
|
166
|
-
R8G8B8 = 20
|
|
167
|
-
A8R8G8B8 = 21
|
|
168
|
-
X8R8G8B8 = 22
|
|
169
|
-
R5G6B5 = 23
|
|
170
|
-
X1R5G5B5 = 24
|
|
171
|
-
A1R5G5B5 = 25
|
|
172
|
-
A4R4G4B4 = 26
|
|
173
|
-
R3G3B2 = 27
|
|
174
|
-
A8 = 28
|
|
175
|
-
A8R3G3B2 = 29
|
|
176
|
-
X4R4G4B4 = 30
|
|
177
|
-
A2B10G10R10 = 31
|
|
178
|
-
A8B8G8R8 = 32
|
|
179
|
-
X8B8G8R8 = 33
|
|
180
|
-
G16R16 = 34
|
|
181
|
-
A2R10G10B10 = 35
|
|
182
|
-
A16B16G16R16 = 36
|
|
183
|
-
A8P8 = 40
|
|
184
|
-
P8 = 41
|
|
185
|
-
L8 = 50
|
|
186
|
-
A8L8 = 51
|
|
187
|
-
A4L4 = 52
|
|
188
|
-
V8U8 = 60
|
|
189
|
-
L6V5U5 = 61
|
|
190
|
-
X8L8V8U8 = 62
|
|
191
|
-
Q8W8V8U8 = 63
|
|
192
|
-
V16U16 = 64
|
|
193
|
-
A2W10V10U10 = 67
|
|
194
|
-
D16_LOCKABLE = 70
|
|
195
|
-
D32 = 71
|
|
196
|
-
D15S1 = 73
|
|
197
|
-
D24S8 = 75
|
|
198
|
-
D24X8 = 77
|
|
199
|
-
D24X4S4 = 79
|
|
200
|
-
D16 = 80
|
|
201
|
-
D32F_LOCKABLE = 82
|
|
202
|
-
D24FS8 = 83
|
|
203
|
-
D32_LOCKABLE = 84
|
|
204
|
-
S8_LOCKABLE = 85
|
|
205
|
-
L16 = 81
|
|
206
|
-
VERTEXDATA = 100
|
|
207
|
-
INDEX16 = 101
|
|
208
|
-
INDEX32 = 102
|
|
209
|
-
Q16W16V16U16 = 110
|
|
210
|
-
R16F = 111
|
|
211
|
-
G16R16F = 112
|
|
212
|
-
A16B16G16R16F = 113
|
|
213
|
-
R32F = 114
|
|
214
|
-
G32R32F = 115
|
|
215
|
-
A32B32G32R32F = 116
|
|
216
|
-
CxV8U8 = 117
|
|
217
|
-
A1 = 118
|
|
218
|
-
A2B10G10R10_XR_BIAS = 119
|
|
219
|
-
BINARYBUFFER = 199
|
|
220
|
-
|
|
221
|
-
UYVY = 1498831189 # i32(b"UYVY")
|
|
222
|
-
R8G8_B8G8 = 1195525970 # i32(b"RGBG")
|
|
223
|
-
YUY2 = 844715353 # i32(b"YUY2")
|
|
224
|
-
G8R8_G8B8 = 1111970375 # i32(b"GRGB")
|
|
225
|
-
DXT1 = 827611204 # i32(b"DXT1")
|
|
226
|
-
DXT2 = 844388420 # i32(b"DXT2")
|
|
227
|
-
DXT3 = 861165636 # i32(b"DXT3")
|
|
228
|
-
DXT4 = 877942852 # i32(b"DXT4")
|
|
229
|
-
DXT5 = 894720068 # i32(b"DXT5")
|
|
230
|
-
DX10 = 808540228 # i32(b"DX10")
|
|
231
|
-
BC4S = 1395934018 # i32(b"BC4S")
|
|
232
|
-
BC4U = 1429488450 # i32(b"BC4U")
|
|
233
|
-
BC5S = 1395999554 # i32(b"BC5S")
|
|
234
|
-
BC5U = 1429553986 # i32(b"BC5U")
|
|
235
|
-
ATI1 = 826889281 # i32(b"ATI1")
|
|
236
|
-
ATI2 = 843666497 # i32(b"ATI2")
|
|
237
|
-
MULTI2_ARGB8 = 827606349 # i32(b"MET1")
|
|
238
|
-
|
|
239
|
-
DDSD_CAPS: Final = 0x1
|
|
240
|
-
DDSD_HEIGHT: Final = 0x2
|
|
241
|
-
DDSD_WIDTH: Final = 0x4
|
|
242
|
-
DDSD_PITCH: Final = 0x8
|
|
243
|
-
DDSD_PIXELFORMAT: Final = 0x1000
|
|
244
|
-
DDSD_MIPMAPCOUNT: Final = 0x20000
|
|
245
|
-
DDSD_LINEARSIZE: Final = 0x80000
|
|
246
|
-
DDSD_DEPTH: Final = 0x800000
|
|
247
|
-
|
|
248
|
-
DDSCAPS_COMPLEX: Final = 0x8
|
|
249
|
-
DDSCAPS_TEXTURE: Final = 0x1000
|
|
250
|
-
DDSCAPS_MIPMAP: Final = 0x400000
|
|
251
|
-
|
|
252
|
-
DDSCAPS2_CUBEMAP: Final = 0x200
|
|
253
|
-
DDSCAPS2_CUBEMAP_POSITIVEX: Final = 0x400
|
|
254
|
-
DDSCAPS2_CUBEMAP_NEGATIVEX: Final = 0x800
|
|
255
|
-
DDSCAPS2_CUBEMAP_POSITIVEY: Final = 0x1000
|
|
256
|
-
DDSCAPS2_CUBEMAP_NEGATIVEY: Final = 0x2000
|
|
257
|
-
DDSCAPS2_CUBEMAP_POSITIVEZ: Final = 0x4000
|
|
258
|
-
DDSCAPS2_CUBEMAP_NEGATIVEZ: Final = 0x8000
|
|
259
|
-
DDSCAPS2_VOLUME: Final = 0x200000
|
|
260
|
-
|
|
261
|
-
DDPF_ALPHAPIXELS: Final = 0x1
|
|
262
|
-
DDPF_ALPHA: Final = 0x2
|
|
263
|
-
DDPF_FOURCC: Final = 0x4
|
|
264
|
-
DDPF_PALETTEINDEXED8: Final = 0x20
|
|
265
|
-
DDPF_RGB: Final = 0x40
|
|
266
|
-
DDPF_LUMINANCE: Final = 0x20000
|
|
267
|
-
|
|
268
|
-
DDS_FOURCC: Final = 0x4
|
|
269
|
-
DDS_RGB: Final = 0x40
|
|
270
|
-
DDS_RGBA: Final = 0x41
|
|
271
|
-
DDS_LUMINANCE: Final = 0x20000
|
|
272
|
-
DDS_LUMINANCEA: Final = 0x20001
|
|
273
|
-
DDS_ALPHA: Final = 0x2
|
|
274
|
-
DDS_PAL8: Final = 0x20
|
|
275
|
-
|
|
276
|
-
DDS_HEADER_FLAGS_TEXTURE: int
|
|
277
|
-
DDS_HEADER_FLAGS_MIPMAP: int
|
|
278
|
-
DDS_HEADER_FLAGS_VOLUME: int
|
|
279
|
-
DDS_HEADER_FLAGS_PITCH: int
|
|
280
|
-
DDS_HEADER_FLAGS_LINEARSIZE: int
|
|
281
|
-
DDS_HEIGHT: int
|
|
282
|
-
DDS_WIDTH: int
|
|
283
|
-
DDS_SURFACE_FLAGS_TEXTURE: int
|
|
284
|
-
DDS_SURFACE_FLAGS_MIPMAP: int
|
|
285
|
-
DDS_SURFACE_FLAGS_CUBEMAP: int
|
|
286
|
-
DDS_CUBEMAP_POSITIVEX: int
|
|
287
|
-
DDS_CUBEMAP_NEGATIVEX: int
|
|
288
|
-
DDS_CUBEMAP_POSITIVEY: int
|
|
289
|
-
DDS_CUBEMAP_NEGATIVEY: int
|
|
290
|
-
DDS_CUBEMAP_POSITIVEZ: int
|
|
291
|
-
DDS_CUBEMAP_NEGATIVEZ: int
|
|
292
|
-
|
|
293
|
-
DXT1_FOURCC: Final = 0x31545844
|
|
294
|
-
DXT3_FOURCC: Final = 0x33545844
|
|
295
|
-
DXT5_FOURCC: Final = 0x35545844
|
|
296
|
-
|
|
297
|
-
DXGI_FORMAT_R8G8B8A8_TYPELESS: Final = 27
|
|
298
|
-
DXGI_FORMAT_R8G8B8A8_UNORM: Final = 28
|
|
299
|
-
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: Final = 29
|
|
300
|
-
DXGI_FORMAT_BC5_TYPELESS: Final = 82
|
|
301
|
-
DXGI_FORMAT_BC5_UNORM: Final = 83
|
|
302
|
-
DXGI_FORMAT_BC5_SNORM: Final = 84
|
|
303
|
-
DXGI_FORMAT_BC6H_UF16: Final = 95
|
|
304
|
-
DXGI_FORMAT_BC6H_SF16: Final = 96
|
|
305
|
-
DXGI_FORMAT_BC7_TYPELESS: Final = 97
|
|
306
|
-
DXGI_FORMAT_BC7_UNORM: Final = 98
|
|
307
|
-
DXGI_FORMAT_BC7_UNORM_SRGB: Final = 99
|
|
308
|
-
|
|
309
|
-
class DdsImageFile(ImageFile):
|
|
310
|
-
format: ClassVar[Literal["DDS"]]
|
|
311
|
-
format_description: ClassVar[str]
|
|
312
|
-
def load_seek(self, pos: int) -> None: ...
|
|
313
|
-
|
|
314
|
-
class DdsRgbDecoder(PyDecoder): ...
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
from _typeshed import Incomplete
|
|
3
|
-
from typing import ClassVar, Literal
|
|
4
|
-
|
|
5
|
-
from ._imaging import _PixelAccessor
|
|
6
|
-
from .ImageFile import ImageFile
|
|
7
|
-
|
|
8
|
-
split: Incomplete
|
|
9
|
-
field: Incomplete
|
|
10
|
-
if sys.platform == "win32":
|
|
11
|
-
gs_binary: Literal["gswin32c", "gswin64c", "gs", False] | None
|
|
12
|
-
gs_windows_binary: Literal["gswin32c", "gswin64c", "gs", False] | None
|
|
13
|
-
else:
|
|
14
|
-
gs_binary: Literal["gs", False] | None
|
|
15
|
-
gs_windows_binary: None
|
|
16
|
-
|
|
17
|
-
def has_ghostscript(): ...
|
|
18
|
-
def Ghostscript(tile, size, fp, scale: int = 1, transparency: bool = False): ...
|
|
19
|
-
|
|
20
|
-
class PSFile:
|
|
21
|
-
fp: Incomplete
|
|
22
|
-
char: Incomplete
|
|
23
|
-
def __init__(self, fp) -> None: ...
|
|
24
|
-
def seek(self, offset, whence=0) -> None: ...
|
|
25
|
-
def readline(self): ...
|
|
26
|
-
|
|
27
|
-
class EpsImageFile(ImageFile):
|
|
28
|
-
format: ClassVar[Literal["EPS"]]
|
|
29
|
-
format_description: ClassVar[str]
|
|
30
|
-
mode_map: Incomplete
|
|
31
|
-
im: Incomplete
|
|
32
|
-
tile: Incomplete
|
|
33
|
-
def load(self, scale: int = 1, transparency: bool = False) -> _PixelAccessor: ...
|
|
34
|
-
def load_seek(self, *args, **kwargs) -> None: ...
|