basedpyright 1.22.0 → 1.22.1

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 (280) hide show
  1. package/dist/971.js +3 -0
  2. package/dist/971.js.LICENSE.txt +27 -0
  3. package/dist/971.js.map +1 -0
  4. package/dist/pyright-langserver.js +1 -1
  5. package/dist/pyright-langserver.js.LICENSE.txt +0 -28
  6. package/dist/pyright-langserver.js.map +1 -1
  7. package/dist/pyright.js +1 -1
  8. package/dist/pyright.js.LICENSE.txt +0 -28
  9. package/dist/pyright.js.map +1 -1
  10. package/dist/typeshed-fallback/commit.txt +1 -1
  11. package/dist/typeshed-fallback/stdlib/VERSIONS +9 -0
  12. package/dist/typeshed-fallback/stdlib/_codecs.pyi +4 -1
  13. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +9 -0
  14. package/dist/typeshed-fallback/stdlib/_csv.pyi +88 -14
  15. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +186 -55
  16. package/dist/typeshed-fallback/stdlib/_curses.pyi +2 -6
  17. package/dist/typeshed-fallback/stdlib/_curses_panel.pyi +67 -0
  18. package/dist/typeshed-fallback/stdlib/_dbm.pyi +7 -6
  19. package/dist/typeshed-fallback/stdlib/_decimal.pyi +1 -8
  20. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +253 -0
  21. package/dist/typeshed-fallback/stdlib/_json.pyi +7 -0
  22. package/dist/typeshed-fallback/stdlib/_multibytecodec.pyi +44 -0
  23. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +0 -1
  24. package/dist/typeshed-fallback/stdlib/_socket.pyi +92 -42
  25. package/dist/typeshed-fallback/stdlib/_thread.pyi +16 -0
  26. package/dist/typeshed-fallback/stdlib/_threading_local.pyi +4 -0
  27. package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -2
  28. package/dist/typeshed-fallback/stdlib/bz2.pyi +1 -0
  29. package/dist/typeshed-fallback/stdlib/codecs.pyi +5 -1
  30. package/dist/typeshed-fallback/stdlib/configparser.pyi +17 -9
  31. package/dist/typeshed-fallback/stdlib/contextlib.pyi +9 -3
  32. package/dist/typeshed-fallback/stdlib/crypt.pyi +9 -2
  33. package/dist/typeshed-fallback/stdlib/csv.pyi +6 -4
  34. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +32 -12
  35. package/dist/typeshed-fallback/stdlib/ctypes/macholib/__init__.pyi +1 -0
  36. package/dist/typeshed-fallback/stdlib/ctypes/macholib/dyld.pyi +8 -0
  37. package/dist/typeshed-fallback/stdlib/ctypes/macholib/dylib.pyi +14 -0
  38. package/dist/typeshed-fallback/stdlib/ctypes/macholib/framework.pyi +14 -0
  39. package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +2 -0
  40. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +11 -5
  41. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +19 -1
  42. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +1 -34
  43. package/dist/typeshed-fallback/stdlib/datetime.pyi +15 -6
  44. package/dist/typeshed-fallback/stdlib/dbm/__init__.pyi +3 -1
  45. package/dist/typeshed-fallback/stdlib/decimal.pyi +10 -1
  46. package/dist/typeshed-fallback/stdlib/distutils/ccompiler.pyi +1 -1
  47. package/dist/typeshed-fallback/stdlib/distutils/spawn.pyi +5 -1
  48. package/dist/typeshed-fallback/stdlib/doctest.pyi +7 -9
  49. package/dist/typeshed-fallback/stdlib/email/__init__.pyi +23 -15
  50. package/dist/typeshed-fallback/stdlib/email/_policybase.pyi +2 -0
  51. package/dist/typeshed-fallback/stdlib/encodings/aliases.pyi +1 -0
  52. package/dist/typeshed-fallback/stdlib/encodings/ascii.pyi +30 -0
  53. package/dist/typeshed-fallback/stdlib/encodings/base64_codec.pyi +26 -0
  54. package/dist/typeshed-fallback/stdlib/encodings/big5.pyi +23 -0
  55. package/dist/typeshed-fallback/stdlib/encodings/big5hkscs.pyi +23 -0
  56. package/dist/typeshed-fallback/stdlib/encodings/bz2_codec.pyi +26 -0
  57. package/dist/typeshed-fallback/stdlib/encodings/charmap.pyi +33 -0
  58. package/dist/typeshed-fallback/stdlib/encodings/cp037.pyi +21 -0
  59. package/dist/typeshed-fallback/stdlib/encodings/cp1006.pyi +21 -0
  60. package/dist/typeshed-fallback/stdlib/encodings/cp1026.pyi +21 -0
  61. package/dist/typeshed-fallback/stdlib/encodings/cp1125.pyi +21 -0
  62. package/dist/typeshed-fallback/stdlib/encodings/cp1140.pyi +21 -0
  63. package/dist/typeshed-fallback/stdlib/encodings/cp1250.pyi +21 -0
  64. package/dist/typeshed-fallback/stdlib/encodings/cp1251.pyi +21 -0
  65. package/dist/typeshed-fallback/stdlib/encodings/cp1252.pyi +21 -0
  66. package/dist/typeshed-fallback/stdlib/encodings/cp1253.pyi +21 -0
  67. package/dist/typeshed-fallback/stdlib/encodings/cp1254.pyi +21 -0
  68. package/dist/typeshed-fallback/stdlib/encodings/cp1255.pyi +21 -0
  69. package/dist/typeshed-fallback/stdlib/encodings/cp1256.pyi +21 -0
  70. package/dist/typeshed-fallback/stdlib/encodings/cp1257.pyi +21 -0
  71. package/dist/typeshed-fallback/stdlib/encodings/cp1258.pyi +21 -0
  72. package/dist/typeshed-fallback/stdlib/encodings/cp273.pyi +21 -0
  73. package/dist/typeshed-fallback/stdlib/encodings/cp424.pyi +21 -0
  74. package/dist/typeshed-fallback/stdlib/encodings/cp437.pyi +21 -0
  75. package/dist/typeshed-fallback/stdlib/encodings/cp500.pyi +21 -0
  76. package/dist/typeshed-fallback/stdlib/encodings/cp720.pyi +21 -0
  77. package/dist/typeshed-fallback/stdlib/encodings/cp737.pyi +21 -0
  78. package/dist/typeshed-fallback/stdlib/encodings/cp775.pyi +21 -0
  79. package/dist/typeshed-fallback/stdlib/encodings/cp850.pyi +21 -0
  80. package/dist/typeshed-fallback/stdlib/encodings/cp852.pyi +21 -0
  81. package/dist/typeshed-fallback/stdlib/encodings/cp855.pyi +21 -0
  82. package/dist/typeshed-fallback/stdlib/encodings/cp856.pyi +21 -0
  83. package/dist/typeshed-fallback/stdlib/encodings/cp857.pyi +21 -0
  84. package/dist/typeshed-fallback/stdlib/encodings/cp858.pyi +21 -0
  85. package/dist/typeshed-fallback/stdlib/encodings/cp860.pyi +21 -0
  86. package/dist/typeshed-fallback/stdlib/encodings/cp861.pyi +21 -0
  87. package/dist/typeshed-fallback/stdlib/encodings/cp862.pyi +21 -0
  88. package/dist/typeshed-fallback/stdlib/encodings/cp863.pyi +21 -0
  89. package/dist/typeshed-fallback/stdlib/encodings/cp864.pyi +21 -0
  90. package/dist/typeshed-fallback/stdlib/encodings/cp865.pyi +21 -0
  91. package/dist/typeshed-fallback/stdlib/encodings/cp866.pyi +21 -0
  92. package/dist/typeshed-fallback/stdlib/encodings/cp869.pyi +21 -0
  93. package/dist/typeshed-fallback/stdlib/encodings/cp874.pyi +21 -0
  94. package/dist/typeshed-fallback/stdlib/encodings/cp875.pyi +21 -0
  95. package/dist/typeshed-fallback/stdlib/encodings/cp932.pyi +23 -0
  96. package/dist/typeshed-fallback/stdlib/encodings/cp949.pyi +23 -0
  97. package/dist/typeshed-fallback/stdlib/encodings/cp950.pyi +23 -0
  98. package/dist/typeshed-fallback/stdlib/encodings/euc_jis_2004.pyi +23 -0
  99. package/dist/typeshed-fallback/stdlib/encodings/euc_jisx0213.pyi +23 -0
  100. package/dist/typeshed-fallback/stdlib/encodings/euc_jp.pyi +23 -0
  101. package/dist/typeshed-fallback/stdlib/encodings/euc_kr.pyi +23 -0
  102. package/dist/typeshed-fallback/stdlib/encodings/gb18030.pyi +23 -0
  103. package/dist/typeshed-fallback/stdlib/encodings/gb2312.pyi +23 -0
  104. package/dist/typeshed-fallback/stdlib/encodings/gbk.pyi +23 -0
  105. package/dist/typeshed-fallback/stdlib/encodings/hex_codec.pyi +26 -0
  106. package/dist/typeshed-fallback/stdlib/encodings/hp_roman8.pyi +21 -0
  107. package/dist/typeshed-fallback/stdlib/encodings/hz.pyi +23 -0
  108. package/dist/typeshed-fallback/stdlib/encodings/idna.pyi +26 -0
  109. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp.pyi +23 -0
  110. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_1.pyi +23 -0
  111. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_2.pyi +23 -0
  112. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_2004.pyi +23 -0
  113. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_3.pyi +23 -0
  114. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_ext.pyi +23 -0
  115. package/dist/typeshed-fallback/stdlib/encodings/iso2022_kr.pyi +23 -0
  116. package/dist/typeshed-fallback/stdlib/encodings/iso8859_1.pyi +21 -0
  117. package/dist/typeshed-fallback/stdlib/encodings/iso8859_10.pyi +21 -0
  118. package/dist/typeshed-fallback/stdlib/encodings/iso8859_11.pyi +21 -0
  119. package/dist/typeshed-fallback/stdlib/encodings/iso8859_13.pyi +21 -0
  120. package/dist/typeshed-fallback/stdlib/encodings/iso8859_14.pyi +21 -0
  121. package/dist/typeshed-fallback/stdlib/encodings/iso8859_15.pyi +21 -0
  122. package/dist/typeshed-fallback/stdlib/encodings/iso8859_16.pyi +21 -0
  123. package/dist/typeshed-fallback/stdlib/encodings/iso8859_2.pyi +21 -0
  124. package/dist/typeshed-fallback/stdlib/encodings/iso8859_3.pyi +21 -0
  125. package/dist/typeshed-fallback/stdlib/encodings/iso8859_4.pyi +21 -0
  126. package/dist/typeshed-fallback/stdlib/encodings/iso8859_5.pyi +21 -0
  127. package/dist/typeshed-fallback/stdlib/encodings/iso8859_6.pyi +21 -0
  128. package/dist/typeshed-fallback/stdlib/encodings/iso8859_7.pyi +21 -0
  129. package/dist/typeshed-fallback/stdlib/encodings/iso8859_8.pyi +21 -0
  130. package/dist/typeshed-fallback/stdlib/encodings/iso8859_9.pyi +21 -0
  131. package/dist/typeshed-fallback/stdlib/encodings/johab.pyi +23 -0
  132. package/dist/typeshed-fallback/stdlib/encodings/koi8_r.pyi +21 -0
  133. package/dist/typeshed-fallback/stdlib/encodings/koi8_t.pyi +21 -0
  134. package/dist/typeshed-fallback/stdlib/encodings/koi8_u.pyi +21 -0
  135. package/dist/typeshed-fallback/stdlib/encodings/kz1048.pyi +21 -0
  136. package/dist/typeshed-fallback/stdlib/encodings/latin_1.pyi +30 -0
  137. package/dist/typeshed-fallback/stdlib/encodings/mac_arabic.pyi +21 -0
  138. package/dist/typeshed-fallback/stdlib/encodings/mac_centeuro.pyi +21 -0
  139. package/dist/typeshed-fallback/stdlib/encodings/mac_croatian.pyi +21 -0
  140. package/dist/typeshed-fallback/stdlib/encodings/mac_cyrillic.pyi +21 -0
  141. package/dist/typeshed-fallback/stdlib/encodings/mac_farsi.pyi +21 -0
  142. package/dist/typeshed-fallback/stdlib/encodings/mac_greek.pyi +21 -0
  143. package/dist/typeshed-fallback/stdlib/encodings/mac_iceland.pyi +21 -0
  144. package/dist/typeshed-fallback/stdlib/encodings/mac_latin2.pyi +21 -0
  145. package/dist/typeshed-fallback/stdlib/encodings/mac_roman.pyi +21 -0
  146. package/dist/typeshed-fallback/stdlib/encodings/mac_romanian.pyi +21 -0
  147. package/dist/typeshed-fallback/stdlib/encodings/mac_turkish.pyi +21 -0
  148. package/dist/typeshed-fallback/stdlib/encodings/mbcs.pyi +28 -0
  149. package/dist/typeshed-fallback/stdlib/encodings/oem.pyi +28 -0
  150. package/dist/typeshed-fallback/stdlib/encodings/palmos.pyi +21 -0
  151. package/dist/typeshed-fallback/stdlib/encodings/ptcp154.pyi +21 -0
  152. package/dist/typeshed-fallback/stdlib/encodings/punycode.pyi +33 -0
  153. package/dist/typeshed-fallback/stdlib/encodings/quopri_codec.pyi +26 -0
  154. package/dist/typeshed-fallback/stdlib/encodings/raw_unicode_escape.pyi +34 -0
  155. package/dist/typeshed-fallback/stdlib/encodings/rot_13.pyi +23 -0
  156. package/dist/typeshed-fallback/stdlib/encodings/shift_jis.pyi +23 -0
  157. package/dist/typeshed-fallback/stdlib/encodings/shift_jis_2004.pyi +23 -0
  158. package/dist/typeshed-fallback/stdlib/encodings/shift_jisx0213.pyi +23 -0
  159. package/dist/typeshed-fallback/stdlib/encodings/tis_620.pyi +21 -0
  160. package/dist/typeshed-fallback/stdlib/encodings/undefined.pyi +20 -0
  161. package/dist/typeshed-fallback/stdlib/encodings/unicode_escape.pyi +34 -0
  162. package/dist/typeshed-fallback/stdlib/encodings/utf_16.pyi +20 -0
  163. package/dist/typeshed-fallback/stdlib/encodings/utf_16_be.pyi +26 -0
  164. package/dist/typeshed-fallback/stdlib/encodings/utf_16_le.pyi +26 -0
  165. package/dist/typeshed-fallback/stdlib/encodings/utf_32.pyi +20 -0
  166. package/dist/typeshed-fallback/stdlib/encodings/utf_32_be.pyi +26 -0
  167. package/dist/typeshed-fallback/stdlib/encodings/utf_32_le.pyi +26 -0
  168. package/dist/typeshed-fallback/stdlib/encodings/utf_7.pyi +26 -0
  169. package/dist/typeshed-fallback/stdlib/encodings/utf_8.pyi +7 -2
  170. package/dist/typeshed-fallback/stdlib/encodings/uu_codec.pyi +28 -0
  171. package/dist/typeshed-fallback/stdlib/encodings/zlib_codec.pyi +26 -0
  172. package/dist/typeshed-fallback/stdlib/fcntl.pyi +3 -1
  173. package/dist/typeshed-fallback/stdlib/gettext.pyi +2 -0
  174. package/dist/typeshed-fallback/stdlib/hashlib.pyi +37 -96
  175. package/dist/typeshed-fallback/stdlib/hmac.pyi +33 -28
  176. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +2 -0
  177. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +175 -21
  178. package/dist/typeshed-fallback/stdlib/json/scanner.pyi +3 -0
  179. package/dist/typeshed-fallback/stdlib/modulefinder.pyi +2 -0
  180. package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +2 -1
  181. package/dist/typeshed-fallback/stdlib/multiprocessing/sharedctypes.pyi +2 -1
  182. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +9 -5
  183. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +506 -44
  184. package/dist/typeshed-fallback/stdlib/platform.pyi +38 -8
  185. package/dist/typeshed-fallback/stdlib/posix.pyi +30 -10
  186. package/dist/typeshed-fallback/stdlib/pstats.pyi +29 -11
  187. package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +3 -1
  188. package/dist/typeshed-fallback/stdlib/sched.pyi +5 -2
  189. package/dist/typeshed-fallback/stdlib/socket.pyi +620 -63
  190. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +3 -1
  191. package/dist/typeshed-fallback/stdlib/sqlite3/dump.pyi +2 -0
  192. package/dist/typeshed-fallback/stdlib/ssl.pyi +3 -1
  193. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +111 -9
  194. package/dist/typeshed-fallback/stdlib/termios.pyi +108 -72
  195. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +103 -50
  196. package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +3 -1
  197. package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -1
  198. package/dist/typeshed-fallback/stdlib/turtle.pyi +15 -4
  199. package/dist/typeshed-fallback/stdlib/typing.pyi +10 -8
  200. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +8 -5
  201. package/dist/typeshed-fallback/stdlib/webbrowser.pyi +1 -0
  202. package/dist/typeshed-fallback/stdlib/wsgiref/types.pyi +2 -2
  203. package/dist/typeshed-fallback/stdlib/xml/__init__.pyi +3 -1
  204. package/dist/typeshed-fallback/stdlib/zipfile/_path.pyi +2 -0
  205. package/dist/typeshed-fallback/stdlib/zlib.pyi +22 -8
  206. package/dist/typeshed-fallback/stubs/Deprecated/METADATA.toml +1 -1
  207. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/classic.pyi +6 -1
  208. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/sphinx.pyi +1 -0
  209. package/dist/typeshed-fallback/stubs/bleach/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +216 -1
  211. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +60 -2
  212. package/dist/typeshed-fallback/stubs/gevent/METADATA.toml +1 -1
  213. package/dist/typeshed-fallback/stubs/gevent/gevent/events.pyi +3 -1
  214. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +6 -2
  215. package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +14 -0
  216. package/dist/typeshed-fallback/stubs/icalendar/icalendar/alarms.pyi +54 -0
  217. package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +137 -11
  218. package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +8 -7
  219. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/__init__.pyi +3 -2
  220. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/equivalent_timezone_ids.pyi +15 -0
  221. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/equivalent_timezone_ids_result.pyi +6 -0
  222. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzid.pyi +8 -0
  223. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +2 -2
  224. package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +12 -1
  225. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  226. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi +0 -2
  227. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +0 -31
  228. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/operations.pyi +1 -1
  229. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +3 -1
  230. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +4 -0
  231. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/trees.pyi +0 -4
  232. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +12 -2
  233. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/text.pyi +1 -4
  234. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/configs.pyi +20 -2
  235. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/__init__.pyi +2 -1
  236. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/__init__.pyi +2 -0
  237. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +4 -2
  238. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +2 -2
  239. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/comments/comment_sheet.pyi +2 -1
  240. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +2 -2
  241. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +5 -14
  242. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +2 -3
  243. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +4 -3
  244. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +2 -1
  245. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +30 -19
  246. package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
  247. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +3 -1
  248. package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +2 -2
  249. package/dist/typeshed-fallback/stubs/pysftp/pysftp/__init__.pyi +2 -2
  250. package/dist/typeshed-fallback/stubs/pywin32/isapi/install.pyi +98 -0
  251. package/dist/typeshed-fallback/stubs/pywin32/win32/win32clipboard.pyi +26 -24
  252. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  253. package/dist/typeshed-fallback/stubs/setuptools/distutils/spawn.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +6 -7
  255. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +2 -2
  256. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +2 -2
  257. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +7 -0
  258. package/dist/typeshed-fallback/stubs/setuptools/setuptools/build_meta.pyi +4 -2
  259. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_egg.pyi +9 -8
  260. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +3 -5
  261. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_ext.pyi +2 -1
  262. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_py.pyi +6 -7
  263. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/easy_install.pyi +12 -17
  264. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +1 -1
  265. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/egg_info.pyi +1 -1
  266. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install_egg_info.pyi +1 -1
  267. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/sdist.pyi +2 -1
  268. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/test.pyi +2 -2
  269. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/__init__.pyi +1 -14
  270. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/expand.pyi +1 -1
  271. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/setupcfg.pyi +7 -5
  272. package/dist/typeshed-fallback/stubs/setuptools/setuptools/depends.pyi +8 -4
  273. package/dist/typeshed-fallback/stubs/setuptools/setuptools/dist.pyi +1 -1
  274. package/dist/typeshed-fallback/stubs/setuptools/setuptools/msvc.pyi +7 -8
  275. package/dist/typeshed-fallback/stubs/setuptools/setuptools/package_index.pyi +7 -3
  276. package/dist/typeshed-fallback/stubs/setuptools/setuptools/sandbox.pyi +2 -4
  277. package/dist/typeshed-fallback/stubs/tqdm/METADATA.toml +2 -1
  278. package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/discord.pyi +14 -3
  279. package/dist/typeshed-fallback/stubs/waitress/waitress/runner.pyi +1 -5
  280. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import sys
2
- from typing import Final, TypedDict, overload, type_check_only
2
+ from typing import Final, TypedDict, overload
3
3
  from typing_extensions import LiteralString, NotRequired
4
4
 
5
5
  if sys.platform == "win32":
@@ -59,7 +59,7 @@ class RegistryInfo:
59
59
  def microsoft(self, key: LiteralString, x86: bool = False) -> LiteralString: ...
60
60
  @overload
61
61
  def microsoft(self, key: str, x86: bool = False) -> str: ... # type: ignore[misc]
62
- def lookup(self, key: str, name: str) -> str: ...
62
+ def lookup(self, key: str, name: str) -> str | None: ...
63
63
 
64
64
  class SystemInfo:
65
65
  WinDir: Final[str]
@@ -80,11 +80,11 @@ class SystemInfo:
80
80
  @property
81
81
  def VCInstallDir(self) -> str: ...
82
82
  @property
83
- def WindowsSdkVersion(self) -> tuple[str, ...] | None: ...
83
+ def WindowsSdkVersion(self) -> tuple[LiteralString, ...]: ...
84
84
  @property
85
85
  def WindowsSdkLastVersion(self) -> str: ...
86
86
  @property
87
- def WindowsSdkDir(self) -> str: ...
87
+ def WindowsSdkDir(self) -> str | None: ...
88
88
  @property
89
89
  def WindowsSDKExecutablePath(self) -> str | None: ...
90
90
  @property
@@ -94,7 +94,7 @@ class SystemInfo:
94
94
  @property
95
95
  def UniversalCRTSdkLastVersion(self) -> str: ...
96
96
  @property
97
- def NetFxSdkVersion(self) -> tuple[str, ...]: ...
97
+ def NetFxSdkVersion(self) -> tuple[LiteralString, ...]: ...
98
98
  @property
99
99
  def NetFxSdkDir(self) -> str: ...
100
100
  @property
@@ -102,11 +102,10 @@ class SystemInfo:
102
102
  @property
103
103
  def FrameworkDir64(self) -> str: ...
104
104
  @property
105
- def FrameworkVersion32(self) -> tuple[str, ...] | None: ...
105
+ def FrameworkVersion32(self) -> tuple[str, ...]: ...
106
106
  @property
107
- def FrameworkVersion64(self) -> tuple[str, ...] | None: ...
107
+ def FrameworkVersion64(self) -> tuple[str, ...]: ...
108
108
 
109
- @type_check_only
110
109
  class _EnvironmentDict(TypedDict):
111
110
  include: str
112
111
  lib: str
@@ -1,20 +1,24 @@
1
1
  import configparser
2
2
  import urllib.request
3
3
  from _typeshed import Incomplete
4
+ from collections.abc import Generator
4
5
  from hashlib import _Hash
5
6
  from re import Pattern
6
7
  from typing import ClassVar
7
8
  from typing_extensions import NamedTuple
8
9
 
9
- from pkg_resources import Environment
10
+ from pkg_resources import Distribution, Environment
10
11
 
11
12
  __all__ = ["PackageIndex", "distros_for_url", "parse_bdist_wininst", "interpret_distro_name"]
12
13
 
13
14
  def parse_bdist_wininst(name): ...
14
- def distros_for_url(url, metadata: Incomplete | None = None) -> None: ...
15
+ def distros_for_url(url, metadata: Incomplete | None = None) -> Generator[Distribution]: ...
16
+ def distros_for_location(
17
+ location, basename, metadata: Incomplete | None = None
18
+ ) -> list[Distribution] | Generator[Distribution]: ...
15
19
  def interpret_distro_name(
16
20
  location, basename, metadata, py_version: Incomplete | None = None, precedence=1, platform: Incomplete | None = None
17
- ) -> None: ...
21
+ ) -> Generator[Distribution]: ...
18
22
 
19
23
  class ContentChecker:
20
24
  def feed(self, block) -> None: ...
@@ -1,6 +1,6 @@
1
1
  import sys
2
2
  from types import TracebackType
3
- from typing import ClassVar, Literal
3
+ from typing import ClassVar
4
4
  from typing_extensions import Self
5
5
 
6
6
  from ._distutils.errors import DistutilsError
@@ -13,9 +13,7 @@ class UnpickleableException(Exception):
13
13
 
14
14
  class ExceptionSaver:
15
15
  def __enter__(self) -> Self: ...
16
- def __exit__(
17
- self, type: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None
18
- ) -> Literal[True] | None: ...
16
+ def __exit__(self, type: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> bool: ...
19
17
  def resume(self) -> None: ...
20
18
 
21
19
  def run_setup(setup_script, args): ...
@@ -1,5 +1,6 @@
1
- version = "4.66.*"
1
+ version = "4.67.*"
2
2
  upstream_repository = "https://github.com/tqdm/tqdm"
3
+ requires = ["types-requests"]
3
4
 
4
5
  [tool.stubtest]
5
6
  extras = ["slack", "telegram"]
@@ -1,17 +1,28 @@
1
1
  from _typeshed import Incomplete, SupportsWrite
2
2
  from collections.abc import Iterable, Mapping
3
+ from concurrent.futures import Future
3
4
  from typing import NoReturn, TypeVar, overload
4
5
 
6
+ from requests import Session
7
+
5
8
  from ..auto import tqdm as tqdm_auto
6
9
  from .utils_worker import MonoWorker
7
10
 
8
11
  __all__ = ["DiscordIO", "tqdm_discord", "tdrange", "tqdm", "trange"]
9
12
 
10
13
  class DiscordIO(MonoWorker):
11
- text: Incomplete
14
+ API: str = "https://discord.com/api/v10"
15
+ UA: str = ...
16
+ channel_id: Incomplete
12
17
  message: Incomplete
18
+ session: Session
19
+ text: Incomplete
20
+ token: Incomplete
13
21
  def __init__(self, token, channel_id) -> None: ...
14
22
  def write(self, s): ...
23
+ def delete(self) -> Future[Incomplete]: ...
24
+ @property
25
+ def message_id(self): ...
15
26
 
16
27
  _T = TypeVar("_T")
17
28
 
@@ -79,8 +90,8 @@ class tqdm_discord(tqdm_auto[_T]):
79
90
  gui: bool = ...,
80
91
  **kwargs,
81
92
  ) -> None: ...
82
- def display(
83
- self, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
93
+ def display( # type: ignore[override]
94
+ self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
84
95
  ) -> None: ...
85
96
  def clear(self, *args, **kwargs) -> None: ...
86
97
 
@@ -1,14 +1,10 @@
1
1
  from _typeshed import Unused
2
2
  from collections.abc import Callable, Sequence
3
3
  from io import TextIOWrapper
4
- from re import Pattern
5
- from typing import Any, Final
4
+ from typing import Final
6
5
 
7
6
  HELP: Final[str]
8
- RUNNER_PATTERN: Final[Pattern[str]]
9
7
 
10
- def match(obj_name: str) -> tuple[str, str]: ...
11
- def resolve(module_name: str, object_name: str) -> Any: ... # Any module attribute
12
8
  def show_help(stream: TextIOWrapper, name: str, error: str | None = None) -> None: ...
13
9
  def show_exception(stream: TextIOWrapper) -> None: ...
14
10
  def run(argv: Sequence[str] = ..., _serve: Callable[..., Unused] = ...) -> 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.22.0",
5
+ "version": "1.22.1",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"