basedpyright 1.13.2 → 1.13.3

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.
Files changed (229) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/VERSIONS +2 -0
  7. package/dist/typeshed-fallback/stdlib/_ast.pyi +42 -279
  8. package/dist/typeshed-fallback/stdlib/_bisect.pyi +221 -221
  9. package/dist/typeshed-fallback/stdlib/_bootlocale.pyi +1 -1
  10. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +15 -5
  11. package/dist/typeshed-fallback/stdlib/_csv.pyi +213 -213
  12. package/dist/typeshed-fallback/stdlib/_decimal.pyi +0 -18
  13. package/dist/typeshed-fallback/stdlib/_dummy_thread.pyi +33 -33
  14. package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +180 -164
  15. package/dist/typeshed-fallback/stdlib/_heapq.pyi +67 -67
  16. package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +16 -0
  17. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +50 -0
  18. package/dist/typeshed-fallback/stdlib/_json.pyi +92 -92
  19. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +92 -92
  20. package/dist/typeshed-fallback/stdlib/_msi.pyi +94 -92
  21. package/dist/typeshed-fallback/stdlib/_operator.pyi +0 -24
  22. package/dist/typeshed-fallback/stdlib/_random.pyi +30 -30
  23. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +6 -2
  24. package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +7 -1
  25. package/dist/typeshed-fallback/stdlib/abc.pyi +12 -4
  26. package/dist/typeshed-fallback/stdlib/argparse.pyi +3 -1
  27. package/dist/typeshed-fallback/stdlib/array.pyi +281 -281
  28. package/dist/typeshed-fallback/stdlib/asynchat.pyi +21 -21
  29. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +35 -4
  30. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +107 -15
  31. package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +9 -3
  32. package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +10 -2
  33. package/dist/typeshed-fallback/stdlib/asyncio/sslproto.pyi +23 -4
  34. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +107 -12
  35. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +86 -86
  36. package/dist/typeshed-fallback/stdlib/asyncio/windows_utils.pyi +49 -49
  37. package/dist/typeshed-fallback/stdlib/asyncore.pyi +90 -90
  38. package/dist/typeshed-fallback/stdlib/audioop.pyi +95 -95
  39. package/dist/typeshed-fallback/stdlib/binascii.pyi +123 -123
  40. package/dist/typeshed-fallback/stdlib/binhex.pyi +45 -45
  41. package/dist/typeshed-fallback/stdlib/builtins.pyi +0 -1
  42. package/dist/typeshed-fallback/stdlib/bz2.pyi +59 -6
  43. package/dist/typeshed-fallback/stdlib/cmath.pyi +112 -112
  44. package/dist/typeshed-fallback/stdlib/codecs.pyi +18 -6
  45. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +200 -56
  46. package/dist/typeshed-fallback/stdlib/concurrent/futures/__init__.pyi +33 -14
  47. package/dist/typeshed-fallback/stdlib/concurrent/futures/_base.pyi +7 -1
  48. package/dist/typeshed-fallback/stdlib/concurrent/futures/thread.pyi +7 -1
  49. package/dist/typeshed-fallback/stdlib/contextvars.pyi +99 -16
  50. package/dist/typeshed-fallback/stdlib/csv.pyi +14 -2
  51. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +7 -1
  52. package/dist/typeshed-fallback/stdlib/ctypes/_endian.pyi +6 -2
  53. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +16 -4
  54. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +7 -1
  55. package/dist/typeshed-fallback/stdlib/datetime.pyi +346 -104
  56. package/dist/typeshed-fallback/stdlib/dbm/gnu.pyi +52 -2
  57. package/dist/typeshed-fallback/stdlib/dbm/ndbm.pyi +26 -2
  58. package/dist/typeshed-fallback/stdlib/difflib.pyi +7 -1
  59. package/dist/typeshed-fallback/stdlib/distutils/__init__.pyi +5 -5
  60. package/dist/typeshed-fallback/stdlib/distutils/archive_util.pyi +35 -35
  61. package/dist/typeshed-fallback/stdlib/distutils/bcppcompiler.pyi +3 -3
  62. package/dist/typeshed-fallback/stdlib/distutils/ccompiler.pyi +173 -173
  63. package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +99 -99
  64. package/dist/typeshed-fallback/stdlib/distutils/command/bdist.pyi +25 -25
  65. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_dumb.pyi +21 -21
  66. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_msi.pyi +45 -45
  67. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_rpm.pyi +52 -52
  68. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_wininst.pyi +16 -16
  69. package/dist/typeshed-fallback/stdlib/distutils/command/build.pyi +33 -33
  70. package/dist/typeshed-fallback/stdlib/distutils/command/build_clib.pyi +27 -27
  71. package/dist/typeshed-fallback/stdlib/distutils/command/build_ext.pyi +50 -50
  72. package/dist/typeshed-fallback/stdlib/distutils/command/build_py.pyi +44 -44
  73. package/dist/typeshed-fallback/stdlib/distutils/command/build_scripts.pyi +24 -24
  74. package/dist/typeshed-fallback/stdlib/distutils/command/check.pyi +39 -39
  75. package/dist/typeshed-fallback/stdlib/distutils/command/clean.pyi +17 -17
  76. package/dist/typeshed-fallback/stdlib/distutils/command/config.pyi +84 -84
  77. package/dist/typeshed-fallback/stdlib/distutils/command/install.pyi +65 -65
  78. package/dist/typeshed-fallback/stdlib/distutils/command/install_data.pyi +19 -19
  79. package/dist/typeshed-fallback/stdlib/distutils/command/install_egg_info.pyi +18 -18
  80. package/dist/typeshed-fallback/stdlib/distutils/command/install_headers.pyi +16 -16
  81. package/dist/typeshed-fallback/stdlib/distutils/command/install_lib.pyi +25 -25
  82. package/dist/typeshed-fallback/stdlib/distutils/command/install_scripts.pyi +18 -18
  83. package/dist/typeshed-fallback/stdlib/distutils/command/register.pyi +20 -20
  84. package/dist/typeshed-fallback/stdlib/distutils/command/sdist.pyi +44 -44
  85. package/dist/typeshed-fallback/stdlib/distutils/command/upload.pyi +17 -17
  86. package/dist/typeshed-fallback/stdlib/distutils/config.pyi +17 -17
  87. package/dist/typeshed-fallback/stdlib/distutils/core.pyi +57 -57
  88. package/dist/typeshed-fallback/stdlib/distutils/cygwinccompiler.pyi +20 -20
  89. package/dist/typeshed-fallback/stdlib/distutils/debug.pyi +1 -1
  90. package/dist/typeshed-fallback/stdlib/distutils/dep_util.pyi +14 -14
  91. package/dist/typeshed-fallback/stdlib/distutils/dir_util.pyi +23 -23
  92. package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +149 -149
  93. package/dist/typeshed-fallback/stdlib/distutils/errors.pyi +19 -19
  94. package/dist/typeshed-fallback/stdlib/distutils/extension.pyi +36 -36
  95. package/dist/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi +34 -34
  96. package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +38 -38
  97. package/dist/typeshed-fallback/stdlib/distutils/filelist.pyi +58 -58
  98. package/dist/typeshed-fallback/stdlib/distutils/log.pyi +25 -25
  99. package/dist/typeshed-fallback/stdlib/distutils/msvccompiler.pyi +3 -3
  100. package/dist/typeshed-fallback/stdlib/distutils/spawn.pyi +6 -6
  101. package/dist/typeshed-fallback/stdlib/distutils/sysconfig.pyi +33 -33
  102. package/dist/typeshed-fallback/stdlib/distutils/text_file.pyi +21 -21
  103. package/dist/typeshed-fallback/stdlib/distutils/unixccompiler.pyi +3 -3
  104. package/dist/typeshed-fallback/stdlib/distutils/util.pyi +50 -50
  105. package/dist/typeshed-fallback/stdlib/distutils/version.pyi +38 -36
  106. package/dist/typeshed-fallback/stdlib/dummy_threading.pyi +2 -2
  107. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +3 -1
  108. package/dist/typeshed-fallback/stdlib/email/charset.pyi +3 -1
  109. package/dist/typeshed-fallback/stdlib/email/header.pyi +3 -1
  110. package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +6 -1
  111. package/dist/typeshed-fallback/stdlib/enum.pyi +8 -1
  112. package/dist/typeshed-fallback/stdlib/filecmp.pyi +7 -1
  113. package/dist/typeshed-fallback/stdlib/fileinput.pyi +7 -1
  114. package/dist/typeshed-fallback/stdlib/formatter.pyi +88 -88
  115. package/dist/typeshed-fallback/stdlib/fractions.pyi +6 -2
  116. package/dist/typeshed-fallback/stdlib/functools.pyi +65 -13
  117. package/dist/typeshed-fallback/stdlib/graphlib.pyi +7 -1
  118. package/dist/typeshed-fallback/stdlib/gzip.pyi +3 -1
  119. package/dist/typeshed-fallback/stdlib/hashlib.pyi +42 -14
  120. package/dist/typeshed-fallback/stdlib/heapq.pyi +3 -1
  121. package/dist/typeshed-fallback/stdlib/hmac.pyi +30 -2
  122. package/dist/typeshed-fallback/stdlib/http/cookies.pyi +7 -1
  123. package/dist/typeshed-fallback/stdlib/imp.pyi +62 -62
  124. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +3 -1
  125. package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +3 -1
  126. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +79 -15
  127. package/dist/typeshed-fallback/stdlib/importlib/metadata/_meta.pyi +3 -1
  128. package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +3 -1
  129. package/dist/typeshed-fallback/stdlib/io.pyi +428 -44
  130. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +153 -28
  131. package/dist/typeshed-fallback/stdlib/itertools.pyi +5 -1
  132. package/dist/typeshed-fallback/stdlib/json/encoder.pyi +14 -2
  133. package/dist/typeshed-fallback/stdlib/keyword.pyi +6 -2
  134. package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +12 -2
  135. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +17 -3
  136. package/dist/typeshed-fallback/stdlib/lzma.pyi +107 -9
  137. package/dist/typeshed-fallback/stdlib/mailbox.pyi +14 -2
  138. package/dist/typeshed-fallback/stdlib/math.pyi +424 -424
  139. package/dist/typeshed-fallback/stdlib/mmap.pyi +160 -160
  140. package/dist/typeshed-fallback/stdlib/msilib/__init__.pyi +177 -177
  141. package/dist/typeshed-fallback/stdlib/msilib/schema.pyi +94 -94
  142. package/dist/typeshed-fallback/stdlib/msilib/sequence.pyi +13 -13
  143. package/dist/typeshed-fallback/stdlib/msilib/text.pyi +7 -7
  144. package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +9 -3
  145. package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +12 -2
  146. package/dist/typeshed-fallback/stdlib/multiprocessing/dummy/__init__.pyi +3 -1
  147. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +10 -2
  148. package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +7 -1
  149. package/dist/typeshed-fallback/stdlib/multiprocessing/popen_spawn_win32.pyi +30 -30
  150. package/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi +15 -4
  151. package/dist/typeshed-fallback/stdlib/multiprocessing/queues.pyi +14 -2
  152. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +19 -5
  153. package/dist/typeshed-fallback/stdlib/nis.pyi +31 -4
  154. package/dist/typeshed-fallback/stdlib/numbers.pyi +26 -6
  155. package/dist/typeshed-fallback/stdlib/opcode.pyi +3 -1
  156. package/dist/typeshed-fallback/stdlib/optparse.pyi +3 -1
  157. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1447 -217
  158. package/dist/typeshed-fallback/stdlib/pathlib.pyi +42 -11
  159. package/dist/typeshed-fallback/stdlib/pickle.pyi +200 -12
  160. package/dist/typeshed-fallback/stdlib/posixpath.pyi +6 -2
  161. package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
  162. package/dist/typeshed-fallback/stdlib/pyexpat/model.pyi +2 -0
  163. package/dist/typeshed-fallback/stdlib/queue.pyi +57 -9
  164. package/dist/typeshed-fallback/stdlib/re.pyi +219 -57
  165. package/dist/typeshed-fallback/stdlib/sched.pyi +8 -1
  166. package/dist/typeshed-fallback/stdlib/signal.pyi +95 -19
  167. package/dist/typeshed-fallback/stdlib/smtpd.pyi +91 -91
  168. package/dist/typeshed-fallback/stdlib/socket.pyi +12 -2
  169. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +417 -83
  170. package/dist/typeshed-fallback/stdlib/ssl.pyi +133 -22
  171. package/dist/typeshed-fallback/stdlib/statistics.pyi +20 -5
  172. package/dist/typeshed-fallback/stdlib/struct.pyi +114 -13
  173. package/dist/typeshed-fallback/stdlib/subprocess.pyi +14 -2
  174. package/dist/typeshed-fallback/stdlib/symbol.pyi +93 -93
  175. package/dist/typeshed-fallback/stdlib/symtable.pyi +30 -1
  176. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +7 -3
  177. package/dist/typeshed-fallback/stdlib/tarfile.pyi +6 -2
  178. package/dist/typeshed-fallback/stdlib/tempfile.pyi +17 -3
  179. package/dist/typeshed-fallback/stdlib/threading.pyi +68 -7
  180. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +3 -1
  181. package/dist/typeshed-fallback/stdlib/turtle.pyi +11 -3
  182. package/dist/typeshed-fallback/stdlib/types.pyi +306 -79
  183. package/dist/typeshed-fallback/stdlib/typing.pyi +310 -31
  184. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +42 -11
  185. package/dist/typeshed-fallback/stdlib/unittest/__init__.pyi +6 -1
  186. package/dist/typeshed-fallback/stdlib/unittest/case.pyi +7 -1
  187. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
  188. package/dist/typeshed-fallback/stdlib/urllib/parse.pyi +51 -3
  189. package/dist/typeshed-fallback/stdlib/weakref.pyi +6 -2
  190. package/dist/typeshed-fallback/stdlib/winsound.pyi +44 -28
  191. package/dist/typeshed-fallback/stdlib/xml/dom/minicompat.pyi +6 -2
  192. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +33 -11
  193. package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +30 -10
  194. package/dist/typeshed-fallback/stdlib/xml/parsers/expat/errors.pyi +2 -0
  195. package/dist/typeshed-fallback/stdlib/xml/parsers/expat/model.pyi +2 -0
  196. package/dist/typeshed-fallback/stdlib/xxlimited.pyi +19 -4
  197. package/dist/typeshed-fallback/stdlib/zipimport.pyi +31 -0
  198. package/dist/typeshed-fallback/stdlib/zlib.pyi +157 -157
  199. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +18 -6
  200. package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +2 -2
  201. package/dist/typeshed-fallback/stubs/docker/docker/_types.pyi +18 -1
  202. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +5 -19
  203. package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +2 -1
  204. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +268 -6
  205. package/dist/typeshed-fallback/stubs/docker/docker/types/containers.pyi +3 -7
  206. package/dist/typeshed-fallback/stubs/docker/docker/types/daemon.pyi +10 -4
  207. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +47 -0
  208. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +1 -1
  209. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/generic.pyi +1 -1
  210. package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
  211. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/extended.pyi +0 -2
  212. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/named_styles.pyi +2 -1
  213. package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +1 -1
  214. package/dist/typeshed-fallback/stubs/pytest-lazy-fixture/pytest_lazyfixture.pyi +2 -2
  215. package/dist/typeshed-fallback/stubs/python-crontab/METADATA.toml +1 -1
  216. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  217. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_safe_eval.pyi +23 -11
  218. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfdoc.pyi +6 -0
  219. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  220. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/archive_util.pyi +8 -8
  221. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +11 -17
  222. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +11 -11
  223. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_py.pyi +1 -2
  224. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +4 -12
  225. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/sysconfig.pyi +2 -4
  226. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/util.pyi +5 -8
  227. package/dist/typeshed-fallback/stubs/str2bool/METADATA.toml +2 -0
  228. package/dist/typeshed-fallback/stubs/str2bool/str2bool/__init__.pyi +7 -0
  229. package/package.json +1 -1
@@ -2,7 +2,11 @@ import datetime
2
2
  from _typeshed import Incomplete
3
3
  from typing import Literal, NamedTuple, overload
4
4
 
5
+ from docker._types import ContainerWeightDevice, WaitContainerResponse
6
+ from docker.types import EndpointConfig
7
+ from docker.types.containers import DeviceRequest, LogConfig, Ulimit
5
8
  from docker.types.daemon import CancellableStream
9
+ from docker.types.services import Mount
6
10
 
7
11
  from .images import Image
8
12
  from .resource import Collection, Model
@@ -57,7 +61,7 @@ class Container(Model):
57
61
  since: datetime.datetime | float | None = None,
58
62
  follow: bool | None = None,
59
63
  until: datetime.datetime | float | None = None,
60
- ) -> CancellableStream: ...
64
+ ) -> CancellableStream[bytes]: ...
61
65
  @overload
62
66
  def logs(
63
67
  self,
@@ -97,7 +101,9 @@ class Container(Model):
97
101
  kernel_memory: int | str | None = None,
98
102
  restart_policy: Incomplete | None = None,
99
103
  ): ...
100
- def wait(self, *, timeout: float | None = None, condition: Literal["not-running", "next-exit", "removed"] | None = None): ...
104
+ def wait(
105
+ self, *, timeout: float | None = None, condition: Literal["not-running", "next-exit", "removed"] | None = None
106
+ ) -> WaitContainerResponse: ...
101
107
 
102
108
  class ContainerCollection(Collection[Container]):
103
109
  model: type[Container]
@@ -110,9 +116,92 @@ class ContainerCollection(Collection[Container]):
110
116
  stderr: bool = False,
111
117
  remove: bool = False,
112
118
  *,
119
+ auto_remove: bool = False,
120
+ blkio_weight_device: list[ContainerWeightDevice] | None = None,
121
+ blkio_weight: int | None = None,
122
+ cap_add: list[str] | None = None,
123
+ cap_drop: list[str] | None = None,
124
+ cgroup_parent: str | None = None,
125
+ cgroupns: Literal["private", "host"] | None = None,
126
+ cpu_count: int | None = None,
127
+ cpu_percent: int | None = None,
128
+ cpu_period: int | None = None,
129
+ cpu_quota: int | None = None,
130
+ cpu_rt_period: int | None = None,
131
+ cpu_rt_runtime: int | None = None,
132
+ cpu_shares: int | None = None,
133
+ cpuset_cpus: str | None = None,
134
+ cpuset_mems: str | None = None,
113
135
  detach: Literal[False] = False,
114
- **kwargs,
115
- ) -> bytes: ...
136
+ device_cgroup_rules: list[Incomplete] | None = None,
137
+ device_read_bps: list[Incomplete] | None = None,
138
+ device_read_iops: Incomplete | None = None,
139
+ device_write_bps: Incomplete | None = None,
140
+ device_write_iops: Incomplete | None = None,
141
+ devices: list[str] | None = None,
142
+ device_requests: list[DeviceRequest] | None = None,
143
+ dns: list[Incomplete] | None = None,
144
+ dns_opt: list[Incomplete] | None = None,
145
+ dns_search: list[Incomplete] | None = None,
146
+ domainname: str | list[Incomplete] | None = None,
147
+ entrypoint: str | list[str] | None = None,
148
+ environment: dict[str, str] | list[str] | None = None,
149
+ extra_hosts: dict[str, str] | None = None,
150
+ group_add: list[str | int] | None = None,
151
+ healthcheck: dict[Incomplete, Incomplete] | None = None,
152
+ hostname: str | None = None,
153
+ init: bool | None = None,
154
+ init_path: str | None = None,
155
+ ipc_mode: str | None = None,
156
+ isolation: str | None = None,
157
+ kernel_memory: str | int | None = None,
158
+ labels: dict[str, str] | list[str] | None = None,
159
+ links: dict[str, str | None] | None = None,
160
+ log_config: LogConfig | None = None,
161
+ lxc_conf: dict[Incomplete, Incomplete] | None = None,
162
+ mac_address: str | None = None,
163
+ mem_limit: str | int | None = None,
164
+ mem_reservation: str | int | None = None,
165
+ mem_swappiness: int | None = None,
166
+ memswap_limit: str | int | None = None,
167
+ mounts: list[Mount] | None = None,
168
+ name: str | None = None,
169
+ nano_cpus: int | None = None,
170
+ network: str | None = None,
171
+ network_disabled: bool = False,
172
+ network_mode: str | None = None,
173
+ networking_config: dict[str, EndpointConfig] | None = None,
174
+ oom_kill_disable: bool = False,
175
+ oom_score_adj: int | None = None,
176
+ pid_mode: str | None = None,
177
+ pids_limit: int | None = None,
178
+ platform: str | None = None,
179
+ ports: dict[str, int | None] | None = None,
180
+ privileged: bool = False,
181
+ publish_all_ports: bool = False,
182
+ read_only: bool | None = None,
183
+ restart_policy: dict[Incomplete, Incomplete] | None = None,
184
+ runtime: str | None = None,
185
+ security_opt: list[str] | None = None,
186
+ shm_size: str | int | None = None,
187
+ stdin_open: bool = False,
188
+ stop_signal: str | None = None,
189
+ storage_opt: dict[Incomplete, Incomplete] | None = None,
190
+ stream: bool = False,
191
+ sysctls: dict[Incomplete, Incomplete] | None = None,
192
+ tmpfs: dict[str, str] | None = None,
193
+ tty: bool = False,
194
+ ulimits: list[Ulimit] | None = None,
195
+ use_config_proxy: bool | None = None,
196
+ user: str | int | None = None,
197
+ userns_mode: str | None = None,
198
+ uts_mode: str | None = None,
199
+ version: str | None = None,
200
+ volume_driver: str | None = None,
201
+ volumes: dict[str, str] | list[str] | None = None,
202
+ volumes_from: list[str] | None = None,
203
+ working_dir: str | None = None,
204
+ ) -> bytes: ... # TODO: This should return a stream, if `stream` is True
116
205
  @overload
117
206
  def run(
118
207
  self,
@@ -122,10 +211,183 @@ class ContainerCollection(Collection[Container]):
122
211
  stderr: bool = False,
123
212
  remove: bool = False,
124
213
  *,
214
+ auto_remove: bool = False,
215
+ blkio_weight_device: list[ContainerWeightDevice] | None = None,
216
+ blkio_weight: int | None = None,
217
+ cap_add: list[str] | None = None,
218
+ cap_drop: list[str] | None = None,
219
+ cgroup_parent: str | None = None,
220
+ cgroupns: Literal["private", "host"] | None = None,
221
+ cpu_count: int | None = None,
222
+ cpu_percent: int | None = None,
223
+ cpu_period: int | None = None,
224
+ cpu_quota: int | None = None,
225
+ cpu_rt_period: int | None = None,
226
+ cpu_rt_runtime: int | None = None,
227
+ cpu_shares: int | None = None,
228
+ cpuset_cpus: str | None = None,
229
+ cpuset_mems: str | None = None,
230
+ detach: Literal[True],
231
+ device_cgroup_rules: list[Incomplete] | None = None,
232
+ device_read_bps: list[Incomplete] | None = None,
233
+ device_read_iops: Incomplete | None = None,
234
+ device_write_bps: Incomplete | None = None,
235
+ device_write_iops: Incomplete | None = None,
236
+ devices: list[str] | None = None,
237
+ device_requests: list[DeviceRequest] | None = None,
238
+ dns: list[Incomplete] | None = None,
239
+ dns_opt: list[Incomplete] | None = None,
240
+ dns_search: list[Incomplete] | None = None,
241
+ domainname: str | list[Incomplete] | None = None,
242
+ entrypoint: str | list[str] | None = None,
243
+ environment: dict[str, str] | list[str] | None = None,
244
+ extra_hosts: dict[str, str] | None = None,
245
+ group_add: list[str | int] | None = None,
246
+ healthcheck: dict[Incomplete, Incomplete] | None = None,
247
+ hostname: str | None = None,
248
+ init: bool | None = None,
249
+ init_path: str | None = None,
250
+ ipc_mode: str | None = None,
251
+ isolation: str | None = None,
252
+ kernel_memory: str | int | None = None,
253
+ labels: dict[str, str] | list[str] | None = None,
254
+ links: dict[str, str | None] | None = None,
255
+ log_config: LogConfig | None = None,
256
+ lxc_conf: dict[Incomplete, Incomplete] | None = None,
257
+ mac_address: str | None = None,
258
+ mem_limit: str | int | None = None,
259
+ mem_reservation: str | int | None = None,
260
+ mem_swappiness: int | None = None,
261
+ memswap_limit: str | int | None = None,
262
+ mounts: list[Mount] | None = None,
263
+ name: str | None = None,
264
+ nano_cpus: int | None = None,
265
+ network: str | None = None,
266
+ network_disabled: bool = False,
267
+ network_mode: str | None = None,
268
+ networking_config: dict[str, EndpointConfig] | None = None,
269
+ oom_kill_disable: bool = False,
270
+ oom_score_adj: int | None = None,
271
+ pid_mode: str | None = None,
272
+ pids_limit: int | None = None,
273
+ platform: str | None = None,
274
+ ports: dict[str, int | None] | None = None,
275
+ privileged: bool = False,
276
+ publish_all_ports: bool = False,
277
+ read_only: bool | None = None,
278
+ restart_policy: dict[Incomplete, Incomplete] | None = None,
279
+ runtime: str | None = None,
280
+ security_opt: list[str] | None = None,
281
+ shm_size: str | int | None = None,
282
+ stdin_open: bool = False,
283
+ stop_signal: str | None = None,
284
+ storage_opt: dict[Incomplete, Incomplete] | None = None,
285
+ stream: bool = False,
286
+ sysctls: dict[Incomplete, Incomplete] | None = None,
287
+ tmpfs: dict[str, str] | None = None,
288
+ tty: bool = False,
289
+ ulimits: list[Ulimit] | None = None,
290
+ use_config_proxy: bool | None = None,
291
+ user: str | int | None = None,
292
+ userns_mode: str | None = None,
293
+ uts_mode: str | None = None,
294
+ version: str | None = None,
295
+ volume_driver: str | None = None,
296
+ volumes: dict[str, str] | list[str] | None = None,
297
+ volumes_from: list[str] | None = None,
298
+ working_dir: str | None = None,
299
+ ) -> Container: ...
300
+ def create( # type:ignore[override]
301
+ self,
302
+ image: str | Image,
303
+ command: str | list[str] | None = None,
304
+ *,
305
+ auto_remove: bool = False,
306
+ blkio_weight_device: list[ContainerWeightDevice] | None = None,
307
+ blkio_weight: int | None = None,
308
+ cap_add: list[str] | None = None,
309
+ cap_drop: list[str] | None = None,
310
+ cgroup_parent: str | None = None,
311
+ cgroupns: Literal["private", "host"] | None = None,
312
+ cpu_count: int | None = None,
313
+ cpu_percent: int | None = None,
314
+ cpu_period: int | None = None,
315
+ cpu_quota: int | None = None,
316
+ cpu_rt_period: int | None = None,
317
+ cpu_rt_runtime: int | None = None,
318
+ cpu_shares: int | None = None,
319
+ cpuset_cpus: str | None = None,
320
+ cpuset_mems: str | None = None,
125
321
  detach: Literal[True],
126
- **kwargs,
322
+ device_cgroup_rules: list[Incomplete] | None = None,
323
+ device_read_bps: list[Incomplete] | None = None,
324
+ device_read_iops: Incomplete | None = None,
325
+ device_write_bps: Incomplete | None = None,
326
+ device_write_iops: Incomplete | None = None,
327
+ devices: list[str] | None = None,
328
+ device_requests: list[DeviceRequest] | None = None,
329
+ dns: list[Incomplete] | None = None,
330
+ dns_opt: list[Incomplete] | None = None,
331
+ dns_search: list[Incomplete] | None = None,
332
+ domainname: str | list[Incomplete] | None = None,
333
+ entrypoint: str | list[str] | None = None,
334
+ environment: dict[str, str] | list[str] | None = None,
335
+ extra_hosts: dict[str, str] | None = None,
336
+ group_add: list[str | int] | None = None,
337
+ healthcheck: dict[Incomplete, Incomplete] | None = None,
338
+ hostname: str | None = None,
339
+ init: bool | None = None,
340
+ init_path: str | None = None,
341
+ ipc_mode: str | None = None,
342
+ isolation: str | None = None,
343
+ kernel_memory: str | int | None = None,
344
+ labels: dict[str, str] | list[str] | None = None,
345
+ links: dict[str, str | None] | None = None,
346
+ log_config: LogConfig | None = None,
347
+ lxc_conf: dict[Incomplete, Incomplete] | None = None,
348
+ mac_address: str | None = None,
349
+ mem_limit: str | int | None = None,
350
+ mem_reservation: str | int | None = None,
351
+ mem_swappiness: int | None = None,
352
+ memswap_limit: str | int | None = None,
353
+ mounts: list[Mount] | None = None,
354
+ name: str | None = None,
355
+ nano_cpus: int | None = None,
356
+ network: str | None = None,
357
+ network_disabled: bool = False,
358
+ network_mode: str | None = None,
359
+ networking_config: dict[str, EndpointConfig] | None = None,
360
+ oom_kill_disable: bool = False,
361
+ oom_score_adj: int | None = None,
362
+ pid_mode: str | None = None,
363
+ pids_limit: int | None = None,
364
+ platform: str | None = None,
365
+ ports: dict[str, int | None] | None = None,
366
+ privileged: bool = False,
367
+ publish_all_ports: bool = False,
368
+ read_only: bool | None = None,
369
+ restart_policy: dict[Incomplete, Incomplete] | None = None,
370
+ runtime: str | None = None,
371
+ security_opt: list[str] | None = None,
372
+ shm_size: str | int | None = None,
373
+ stdin_open: bool = False,
374
+ stop_signal: str | None = None,
375
+ storage_opt: dict[Incomplete, Incomplete] | None = None,
376
+ stream: bool = False,
377
+ sysctls: dict[Incomplete, Incomplete] | None = None,
378
+ tmpfs: dict[str, str] | None = None,
379
+ tty: bool = False,
380
+ ulimits: list[Ulimit] | None = None,
381
+ use_config_proxy: bool | None = None,
382
+ user: str | int | None = None,
383
+ userns_mode: str | None = None,
384
+ uts_mode: str | None = None,
385
+ version: str | None = None,
386
+ volume_driver: str | None = None,
387
+ volumes: dict[str, str] | list[str] | None = None,
388
+ volumes_from: list[str] | None = None,
389
+ working_dir: str | None = None,
127
390
  ) -> Container: ...
128
- def create(self, image: str, command: str | list[str] | None = None, **kwargs) -> Container: ... # type:ignore[override]
129
391
  def get(self, container_id: str) -> Container: ...
130
392
  def list(
131
393
  self,
@@ -1,15 +1,11 @@
1
1
  from _typeshed import Incomplete
2
- from pathlib import Path
3
- from typing import Literal, TypedDict, type_check_only
2
+ from typing import Literal
3
+
4
+ from docker._types import ContainerWeightDevice
4
5
 
5
6
  from .base import DictType
6
7
  from .services import Mount
7
8
 
8
- @type_check_only
9
- class ContainerWeightDevice(TypedDict):
10
- Path: Path
11
- Weight: int
12
-
13
9
  class LogConfigTypesEnum:
14
10
  JSON: Incomplete
15
11
  SYSLOG: Incomplete
@@ -1,6 +1,12 @@
1
- class CancellableStream:
2
- def __init__(self, stream, response) -> None: ...
3
- def __iter__(self): ...
4
- def __next__(self): ...
1
+ from collections.abc import Iterator
2
+ from typing import Generic, TypeVar
3
+ from typing_extensions import Self
4
+
5
+ _T_co = TypeVar("_T_co", covariant=True)
6
+
7
+ class CancellableStream(Generic[_T_co]):
8
+ def __init__(self, stream: Iterator[_T_co], response) -> None: ...
9
+ def __iter__(self) -> Self: ...
10
+ def __next__(self) -> _T_co: ...
5
11
  next = __next__
6
12
  def close(self) -> None: ...
@@ -6,11 +6,58 @@ from typing import Any
6
6
  from typing_extensions import TypeAlias
7
7
 
8
8
  from docutils import nodes
9
+ from docutils.statemachine import StateMachineWS, StateWS
9
10
  from docutils.utils import Reporter
10
11
 
11
12
  class Struct:
12
13
  def __init__(self, **keywordargs) -> None: ...
13
14
 
15
+ class RSTState(StateWS[list[str]]):
16
+ nested_sm: type[StateMachineWS[list[str]]]
17
+ nested_sm_cache: Incomplete
18
+ nested_sm_kwargs: Incomplete
19
+ def __init__(self, state_machine, debug: bool = False) -> None: ...
20
+ memo: Incomplete
21
+ reporter: Incomplete
22
+ inliner: Incomplete
23
+ document: nodes.document
24
+ parent: Incomplete
25
+ def runtime_init(self) -> None: ...
26
+ def goto_line(self, abs_line_offset) -> None: ...
27
+ def no_match(self, context, transitions): ...
28
+ def bof(self, context): ...
29
+ def nested_parse(
30
+ self,
31
+ block,
32
+ input_offset,
33
+ node,
34
+ match_titles: bool = False,
35
+ state_machine_class: Incomplete | None = None,
36
+ state_machine_kwargs: Incomplete | None = None,
37
+ ): ...
38
+ def nested_list_parse(
39
+ self,
40
+ block,
41
+ input_offset,
42
+ node,
43
+ initial_state,
44
+ blank_finish,
45
+ blank_finish_state: Incomplete | None = None,
46
+ extra_settings={},
47
+ match_titles: bool = False,
48
+ state_machine_class: Incomplete | None = None,
49
+ state_machine_kwargs: Incomplete | None = None,
50
+ ): ...
51
+ def section(self, title, source, style, lineno, messages) -> None: ...
52
+ def check_subsection(self, source, style, lineno): ...
53
+ def title_inconsistent(self, sourcetext, lineno): ...
54
+ def new_subsection(self, title, lineno, messages) -> None: ...
55
+ def paragraph(self, lines, lineno): ...
56
+ def inline_text(self, text, lineno): ...
57
+ def unindent_warning(self, node_name): ...
58
+
59
+ def build_regexp(definition, compile: bool = True): ...
60
+
14
61
  _BasicDefinition: TypeAlias = tuple[str, str, str, list[Pattern[str]]]
15
62
  _DefinitionParts: TypeAlias = tuple[str, str, str, list[Pattern[str] | _BasicDefinition]]
16
63
  _DefinitionType: TypeAlias = tuple[str, str, str, list[Pattern[str] | _DefinitionParts]]
@@ -46,7 +46,7 @@ def add_history(value: Value, /) -> int: ...
46
46
  def history_count() -> int: ...
47
47
  def convenience_variable(name: str, /) -> Value | None: ...
48
48
  def set_convenience_variable(name: str, value: _ValueOrNative | None, /) -> None: ...
49
- def parse_and_eval(expression: str, /) -> Value: ...
49
+ def parse_and_eval(expression: str, global_context: bool = False, /) -> Value: ...
50
50
  def find_pc_line(pc: int | Value) -> Symtab_and_line: ...
51
51
  def post_event(event: Callable[[], object], /) -> None: ...
52
52
  def write(string: str, stream: int = ...) -> None: ...
@@ -6,7 +6,7 @@ from networkx.classes.graph import Graph, _Node
6
6
  from networkx.utils.backends import _dispatch
7
7
 
8
8
  @_dispatch
9
- def has_path(G, source, target): ...
9
+ def has_path(G: Graph[_Node], source: _Node, target: _Node) -> bool: ...
10
10
  @overload
11
11
  def shortest_path(
12
12
  G: Graph[_Node], source: _Node, target: _Node, weight: Incomplete | None = None, method: str = "dijkstra"
@@ -1,2 +1,2 @@
1
- version = "3.1.4"
1
+ version = "3.1.5"
2
2
  upstream_repository = "https://foss.heptapod.net/openpyxl/openpyxl"
@@ -6,8 +6,6 @@ from openpyxl.descriptors.nested import NestedText
6
6
  from openpyxl.descriptors.serialisable import Serialisable
7
7
  from openpyxl.xml.functions import Element
8
8
 
9
- def get_version(): ...
10
-
11
9
  class DigSigBlob(Serialisable):
12
10
  __elements__: ClassVar[tuple[str, ...]]
13
11
  __attrs__: ClassVar[tuple[str, ...]]
@@ -1,5 +1,5 @@
1
1
  from _typeshed import ConvertibleToInt, Incomplete, Unused
2
- from collections.abc import Iterator
2
+ from collections.abc import Iterable, Iterator
3
3
  from typing import ClassVar, Literal
4
4
 
5
5
  from openpyxl.descriptors.base import Bool, Integer, String, Typed, _ConvertibleToBool
@@ -44,6 +44,7 @@ class NamedStyle(Serialisable):
44
44
  def as_name(self) -> _NamedCellStyle: ...
45
45
 
46
46
  class NamedStyleList(list[NamedStyle]):
47
+ def __init__(self, iterable: Iterable[NamedStyle] = ()) -> None: ... # type: ignore[override]
47
48
  @property
48
49
  def names(self) -> list[str]: ...
49
50
  def __getitem__(self, key: int | str) -> NamedStyle: ... # type: ignore[override]
@@ -1,4 +1,4 @@
1
- version = "1.15.*"
1
+ version = "1.15.0"
2
2
  upstream_repository = "https://github.com/libgit2/pygit2"
3
3
  requires = ["types-cffi"]
4
4
 
@@ -1,6 +1,6 @@
1
1
  from collections.abc import Iterable
2
2
  from typing import Any, overload
3
- from typing_extensions import TypeGuard
3
+ from typing_extensions import TypeIs
4
4
 
5
5
  class LazyFixture:
6
6
  name: str
@@ -11,4 +11,4 @@ class LazyFixture:
11
11
  def lazy_fixture(names: str) -> LazyFixture: ...
12
12
  @overload
13
13
  def lazy_fixture(names: Iterable[str]) -> list[LazyFixture] | Any: ...
14
- def is_lazy_fixture(val: object) -> TypeGuard[LazyFixture]: ...
14
+ def is_lazy_fixture(val: object) -> TypeIs[LazyFixture]: ...
@@ -1,2 +1,2 @@
1
- version = "3.1.*"
1
+ version = "3.2.*"
2
2
  upstream_repository = "https://gitlab.com/doctormo/python-crontab"
@@ -1,4 +1,4 @@
1
- version = "4.2.0"
1
+ version = "4.2.2"
2
2
  # GitHub mirror of https://hg.reportlab.com/hg-public/reportlab/file
3
3
  upstream_repository = "https://github.com/MrBitBucket/reportlab-mirror"
4
4
 
@@ -1,21 +1,23 @@
1
1
  import ast
2
2
  import math
3
+ import re
3
4
  import time
4
5
  from _typeshed import Incomplete
5
6
  from collections.abc import Generator
6
7
  from typing import NoReturn
7
8
 
8
- eval_debug: Incomplete
9
- strTypes: Incomplete
10
- isPy39: Incomplete
11
- haveNameConstant: Incomplete
9
+ eval_debug: int
10
+ strTypes: tuple[type[bytes], type[str]]
11
+ isPy39: bool
12
+ isPy313: bool
13
+ haveNameConstant: bool
12
14
 
13
15
  class BadCode(ValueError): ...
14
16
 
15
- augOps: Incomplete
16
- __allowed_magic_methods__: Incomplete
17
- __rl_unsafe__: Incomplete
18
- __rl_unsafe_re__: Incomplete
17
+ augOps: dict[ast.operator, str]
18
+ __allowed_magic_methods__: frozenset[str]
19
+ __rl_unsafe__: frozenset[str]
20
+ __rl_unsafe_re__: re.Pattern[str]
19
21
 
20
22
  def copy_locations(new_node, old_node) -> None: ...
21
23
 
@@ -175,7 +177,12 @@ class __RL_SAFE_ENV__:
175
177
  real_bi: Incomplete
176
178
  bi_replace: Incomplete
177
179
  __rl_builtins__: Incomplete
178
- def __init__(self, timeout: Incomplete | None = None, allowed_magic_methods: Incomplete | None = None) -> None: ...
180
+ def __init__(
181
+ self,
182
+ timeout: Incomplete | None = None,
183
+ allowed_magic_methods: Incomplete | None = None,
184
+ allowed_magic_names: Incomplete | None = None,
185
+ ) -> None: ...
179
186
  def __rl_type__(self, *args): ...
180
187
  def __rl_check__(self) -> None: ...
181
188
  def __rl_sd__(self, obj): ...
@@ -194,10 +201,10 @@ class __RL_SAFE_ENV__:
194
201
  def __rl_reversed__(self, seq): ...
195
202
  def __rl_range__(self, start, *args): ...
196
203
  def __rl_set__(self, it): ...
197
- def __rl_frozenset__(self, it): ...
204
+ def __rl_frozenset__(self, it=()): ...
198
205
  def __rl_iter_unpack_sequence__(self, it, spec, _getiter_) -> Generator[Incomplete, None, None]: ...
199
206
  def __rl_unpack_sequence__(self, it, spec, _getiter_): ...
200
- def __rl_is_allowed_name__(self, name) -> None: ...
207
+ def __rl_is_allowed_name__(self, name, crash: bool = True) -> bool: ...
201
208
  def __rl_getattr__(self, obj, a, *args): ...
202
209
  def __rl_getitem__(self, obj, a): ...
203
210
  __rl_tmax__: int
@@ -229,6 +236,7 @@ class __RL_SAFE_ENV__:
229
236
  timeout: Incomplete | None = None,
230
237
  allowed_magic_methods: Incomplete | None = None,
231
238
  __frame_depth__: int = 3,
239
+ allowed_magic_names: Incomplete | None = None,
232
240
  ): ...
233
241
 
234
242
  class __rl_safe_eval__:
@@ -242,6 +250,7 @@ class __rl_safe_eval__:
242
250
  l: Incomplete | None = None,
243
251
  timeout: Incomplete | None = None,
244
252
  allowed_magic_methods: Incomplete | None = None,
253
+ allowed_magic_names: Incomplete | None = None,
245
254
  ): ...
246
255
 
247
256
  class __rl_safe_exec__(__rl_safe_eval__):
@@ -251,3 +260,6 @@ def rl_extended_literal_eval(expr, safe_callables: Incomplete | None = None, saf
251
260
 
252
261
  rl_safe_exec: __rl_safe_exec__
253
262
  rl_safe_eval: __rl_safe_eval__
263
+
264
+ def __fix_set__(value, default=...): ...
265
+ def rl_less_safe_eval(expr, NS): ...
@@ -625,3 +625,9 @@ class PDFRadialShading(PDFShading):
625
625
  otherkw: Incomplete
626
626
  def __init__(self, x0, y0, r0, x1, y1, r1, Function, ColorSpace, **kw) -> None: ...
627
627
  def Dict(self, document): ...
628
+
629
+ class XMP(PDFStream):
630
+ def __init__(self, path: Incomplete | None = None, creator: Incomplete | None = None) -> None: ...
631
+ def makeContent(self, doc): ...
632
+ # Param name is changed from the base class:
633
+ def format(self, doc): ...
@@ -1,4 +1,4 @@
1
- version = "70.1.*"
1
+ version = "70.2.*"
2
2
  upstream_repository = "https://github.com/pypa/setuptools"
3
3
 
4
4
  [tool.stubtest]
@@ -1,5 +1,5 @@
1
1
  from _typeshed import StrOrBytesPath, StrPath
2
- from typing import Literal, overload
2
+ from typing import overload
3
3
 
4
4
  @overload
5
5
  def make_archive(
@@ -7,8 +7,8 @@ def make_archive(
7
7
  format: str,
8
8
  root_dir: StrOrBytesPath | None = None,
9
9
  base_dir: str | None = None,
10
- verbose: bool | Literal[0, 1] = 0,
11
- dry_run: bool | Literal[0, 1] = 0,
10
+ verbose: bool = False,
11
+ dry_run: bool = False,
12
12
  owner: str | None = None,
13
13
  group: str | None = None,
14
14
  ) -> str: ...
@@ -18,8 +18,8 @@ def make_archive(
18
18
  format: str,
19
19
  root_dir: StrOrBytesPath,
20
20
  base_dir: str | None = None,
21
- verbose: bool | Literal[0, 1] = 0,
22
- dry_run: bool | Literal[0, 1] = 0,
21
+ verbose: bool = False,
22
+ dry_run: bool = False,
23
23
  owner: str | None = None,
24
24
  group: str | None = None,
25
25
  ) -> str: ...
@@ -27,9 +27,9 @@ def make_tarball(
27
27
  base_name: str,
28
28
  base_dir: StrPath,
29
29
  compress: str | None = ...,
30
- verbose: bool | Literal[0, 1] = 0,
31
- dry_run: bool | Literal[0, 1] = 0,
30
+ verbose: bool = False,
31
+ dry_run: bool = False,
32
32
  owner: str | None = ...,
33
33
  group: str | None = ...,
34
34
  ) -> str: ...
35
- def make_zipfile(base_name: str, base_dir: str, verbose: bool | Literal[0, 1] = 0, dry_run: bool | Literal[0, 1] = 0) -> str: ...
35
+ def make_zipfile(base_name: str, base_dir: str, verbose: bool = False, dry_run: bool = False) -> str: ...