basedpyright 1.29.2 → 1.29.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 (407) 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 +1 -0
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +5 -0
  8. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +2 -0
  9. package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -0
  10. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +88 -44
  11. package/dist/typeshed-fallback/stdlib/_heapq.pyi +9 -1
  12. package/dist/typeshed-fallback/stdlib/_imp.pyi +2 -0
  13. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +77 -50
  14. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  15. package/dist/typeshed-fallback/stdlib/_thread.pyi +5 -0
  16. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +1 -1
  17. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +0 -3
  18. package/dist/typeshed-fallback/stdlib/_zstd.pyi +96 -0
  19. package/dist/typeshed-fallback/stdlib/argparse.pyi +1 -7
  20. package/dist/typeshed-fallback/stdlib/ast.pyi +24 -12
  21. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +10 -6
  22. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +30 -8
  23. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +2 -4
  24. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +19 -7
  25. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +18 -13
  26. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +29 -9
  27. package/dist/typeshed-fallback/stdlib/builtins.pyi +65 -28
  28. package/dist/typeshed-fallback/stdlib/bz2.pyi +6 -5
  29. package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +2 -1
  30. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +87 -0
  31. package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -0
  32. package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +1 -3
  33. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +14 -6
  34. package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +3 -0
  35. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +9 -0
  36. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +50 -5
  37. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +2 -5
  38. package/dist/typeshed-fallback/stdlib/enum.pyi +5 -1
  39. package/dist/typeshed-fallback/stdlib/errno.pyi +3 -0
  40. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +4 -0
  41. package/dist/typeshed-fallback/stdlib/fractions.pyi +28 -10
  42. package/dist/typeshed-fallback/stdlib/genericpath.pyi +6 -1
  43. package/dist/typeshed-fallback/stdlib/gzip.pyi +11 -2
  44. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +59 -53
  45. package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +23 -0
  46. package/dist/typeshed-fallback/stdlib/importlib/resources/__init__.pyi +8 -2
  47. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +66 -9
  49. package/dist/typeshed-fallback/stdlib/importlib/util.pyi +20 -4
  50. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +3 -0
  51. package/dist/typeshed-fallback/stdlib/lzma.pyi +5 -4
  52. package/dist/typeshed-fallback/stdlib/multiprocessing/forkserver.pyi +21 -7
  53. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +62 -1
  54. package/dist/typeshed-fallback/stdlib/multiprocessing/popen_fork.pyi +3 -0
  55. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -1
  56. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +15 -5
  57. package/dist/typeshed-fallback/stdlib/ntpath.pyi +7 -10
  58. package/dist/typeshed-fallback/stdlib/posixpath.pyi +7 -13
  59. package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
  60. package/dist/typeshed-fallback/stdlib/select.pyi +2 -0
  61. package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -2
  62. package/dist/typeshed-fallback/stdlib/socket.pyi +4 -0
  63. package/dist/typeshed-fallback/stdlib/socketserver.pyi +3 -2
  64. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +2 -0
  65. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +5 -2
  66. package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +3 -0
  67. package/dist/typeshed-fallback/stdlib/tarfile.pyi +16 -1
  68. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +4 -2
  69. package/dist/typeshed-fallback/stdlib/turtle.pyi +38 -1
  70. package/dist/typeshed-fallback/stdlib/types.pyi +12 -1
  71. package/dist/typeshed-fallback/stdlib/typing.pyi +7 -3
  72. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +28 -1
  73. package/dist/typeshed-fallback/stdlib/winsound.pyi +10 -0
  74. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +18 -1
  75. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +21 -4
  76. package/dist/typeshed-fallback/stdlib/zipimport.pyi +12 -2
  77. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +8 -2
  78. package/dist/typeshed-fallback/stubs/Flask-Cors/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +3 -3
  80. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +2 -2
  81. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +6 -5
  82. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
  83. package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
  84. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +4 -0
  85. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_session_gateway.pyi +1 -1
  86. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/__init__.pyi +4 -0
  87. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/__init__.pyi +3 -0
  88. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/create_customer_session_input.pyi +11 -7
  89. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_recommendations_input.pyi +13 -8
  90. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_session_input.pyi +14 -9
  91. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/monetary_amount_input.pyi +6 -0
  92. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_payee_input.pyi +14 -0
  93. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_purchase_unit_input.pyi +16 -0
  94. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/phone_input.pyi +9 -6
  95. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/update_customer_session_input.pyi +13 -6
  96. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/__init__.pyi +1 -0
  97. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/customer_recommendations_payload.pyi +9 -4
  98. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_options.pyi +2 -4
  99. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_recommendation.pyi +6 -0
  100. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/unions/customer_recommendations.pyi +4 -4
  101. package/dist/typeshed-fallback/stubs/braintree/braintree/{montary_amount.pyi → monetary_amount.pyi} +1 -1
  102. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +4 -0
  103. package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +4 -0
  104. package/dist/typeshed-fallback/stubs/braintree/braintree/util/__init__.pyi +1 -0
  105. package/dist/typeshed-fallback/stubs/braintree/braintree/util/experimental.pyi +5 -0
  106. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  107. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +13 -4
  108. package/dist/typeshed-fallback/stubs/cachetools/cachetools/func.pyi +1 -4
  109. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +2 -2
  110. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  111. package/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/__init__.pyi +3 -1
  112. package/dist/typeshed-fallback/stubs/dateparser/dateparser/parser.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +12 -12
  114. package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +1 -1
  115. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +9 -1
  116. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +11 -3
  117. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/af.pyi +6 -0
  118. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ar.pyi +6 -0
  119. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ca.pyi +6 -0
  120. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/cs.pyi +6 -0
  121. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/da.pyi +6 -0
  122. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/de.pyi +6 -0
  123. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/en.pyi +6 -0
  124. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/eo.pyi +6 -0
  125. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/es.pyi +6 -0
  126. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fa.pyi +6 -0
  127. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fi.pyi +6 -0
  128. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fr.pyi +6 -0
  129. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/gl.pyi +6 -0
  130. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/he.pyi +6 -0
  131. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/it.pyi +6 -0
  132. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ja.pyi +6 -0
  133. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ka.pyi +6 -0
  134. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ko.pyi +6 -0
  135. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lt.pyi +6 -0
  136. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lv.pyi +6 -0
  137. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/nl.pyi +6 -0
  138. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pl.pyi +6 -0
  139. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pt_br.pyi +6 -0
  140. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ru.pyi +6 -0
  141. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sk.pyi +6 -0
  142. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sv.pyi +6 -0
  143. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/uk.pyi +6 -0
  144. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_cn.pyi +6 -0
  145. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_tw.pyi +6 -0
  146. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +206 -3
  147. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +8 -6
  148. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +1 -0
  149. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +50 -1
  150. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/__init__.pyi +9 -5
  151. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +5 -3
  152. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +33 -10
  153. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +64 -1
  154. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/html.pyi +5 -1
  155. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/images.pyi +18 -1
  156. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +8 -7
  157. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +4 -0
  158. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/references.pyi +4 -0
  159. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +62 -1
  160. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/__init__.pyi +20 -0
  161. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/af.pyi +5 -0
  162. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ar.pyi +5 -0
  163. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ca.pyi +5 -0
  164. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/cs.pyi +5 -0
  165. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/da.pyi +5 -0
  166. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/de.pyi +5 -0
  167. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/en.pyi +5 -0
  168. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/eo.pyi +5 -0
  169. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/es.pyi +5 -0
  170. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fa.pyi +5 -0
  171. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fi.pyi +5 -0
  172. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fr.pyi +5 -0
  173. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/gl.pyi +5 -0
  174. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/he.pyi +5 -0
  175. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/it.pyi +5 -0
  176. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ja.pyi +5 -0
  177. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ka.pyi +5 -0
  178. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ko.pyi +5 -0
  179. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lt.pyi +5 -0
  180. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lv.pyi +5 -0
  181. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/nl.pyi +5 -0
  182. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pl.pyi +5 -0
  183. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pt_br.pyi +5 -0
  184. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ru.pyi +5 -0
  185. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sk.pyi +5 -0
  186. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sv.pyi +5 -0
  187. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/uk.pyi +5 -0
  188. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_cn.pyi +5 -0
  189. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_tw.pyi +5 -0
  190. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +3 -2
  191. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +257 -8
  192. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +3 -2
  193. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +9 -8
  194. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +28 -0
  195. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +41 -0
  196. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +11 -0
  197. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/latex2mathml.pyi +44 -0
  198. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +635 -0
  199. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathalphabet2unichar.pyi +13 -0
  200. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +82 -0
  201. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +8 -0
  202. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2unichar.pyi +14 -0
  203. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/unichar2tex.pyi +1 -0
  204. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/punctuation_chars.pyi +9 -0
  205. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +10 -1
  206. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/smartquotes.pyi +44 -0
  207. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/urischemes.pyi +1 -0
  208. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +18 -0
  209. package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +1 -1
  211. package/dist/typeshed-fallback/stubs/grpcio/grpc/__init__.pyi +32 -53
  212. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +18 -21
  213. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
  214. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -0
  215. package/dist/typeshed-fallback/stubs/jmespath/jmespath/__init__.pyi +3 -1
  216. package/dist/typeshed-fallback/stubs/jmespath/jmespath/ast.pyi +55 -22
  217. package/dist/typeshed-fallback/stubs/jmespath/jmespath/compat.pyi +7 -4
  218. package/dist/typeshed-fallback/stubs/jmespath/jmespath/functions.pyi +1 -1
  219. package/dist/typeshed-fallback/stubs/jmespath/jmespath/visitor.pyi +14 -11
  220. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_utils.pyi +2 -1
  222. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +26 -12
  223. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  224. package/dist/typeshed-fallback/stubs/networkx/networkx/__init__.pyi +4 -0
  225. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
  226. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/__init__.pyi +1 -0
  227. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/density.pyi +15 -0
  228. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +11 -2
  229. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -0
  230. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +4 -0
  231. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
  232. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +7 -1
  233. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/link_analysis.pyi +20 -0
  234. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +12 -0
  235. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +8 -0
  236. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +5 -1
  237. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +2 -0
  238. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +3 -3
  239. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/leiden.pyi +18 -0
  240. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/local.pyi +15 -0
  241. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +9 -0
  242. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +9 -0
  243. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +28 -1
  244. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +3 -0
  245. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +1 -5
  247. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +14 -9
  248. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +6 -2
  249. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +17 -13
  250. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/matchhelpers.pyi +3 -0
  251. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -0
  252. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +11 -2
  253. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planar_drawing.pyi +10 -0
  254. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +5 -0
  255. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +3 -1
  256. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +4 -0
  257. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +28 -0
  258. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +11 -1
  259. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +4 -0
  260. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +4 -0
  261. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +6 -0
  262. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +11 -2
  263. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +6 -6
  264. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +1 -0
  265. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +30 -4
  266. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +46 -16
  267. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +53 -15
  268. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/atlas.pyi +11 -0
  269. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/directed.pyi +2 -0
  270. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/internet_as_graphs.pyi +4 -0
  271. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/nonisomorphic_trees.pyi +1 -1
  272. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/triads.pyi +4 -0
  273. package/dist/typeshed-fallback/stubs/networkx/networkx/linalg/laplacianmatrix.pyi +0 -3
  274. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gml.pyi +8 -1
  275. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graph6.pyi +7 -0
  276. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/pajek.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/__init__.pyi +4 -19
  278. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/backends.pyi +3 -2
  279. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/rcm.pyi +4 -0
  280. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/colors.pyi +2 -4
  281. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/argon2.pyi +8 -7
  282. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/bcrypt.pyi +4 -3
  283. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/cisco.pyi +2 -1
  284. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/des_crypt.pyi +6 -5
  285. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/digests.pyi +11 -7
  286. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/django.pyi +5 -4
  287. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/fshp.pyi +3 -2
  288. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/ldap_digests.pyi +3 -2
  289. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/md5_crypt.pyi +2 -1
  290. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/misc.pyi +4 -1
  291. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/mssql.pyi +3 -2
  292. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/oracle.pyi +2 -1
  293. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/pbkdf2.pyi +4 -4
  294. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scram.pyi +2 -1
  295. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scrypt.pyi +2 -1
  296. package/dist/typeshed-fallback/stubs/passlib/passlib/utils/handlers.pyi +1 -1
  297. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +8 -29
  298. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -0
  299. package/dist/typeshed-fallback/stubs/python-jose/METADATA.toml +1 -1
  300. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/__init__.pyi +1 -4
  301. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/cryptography_backend.pyi +1 -2
  302. package/dist/typeshed-fallback/stubs/python-jose/jose/jws.pyi +2 -2
  303. package/dist/typeshed-fallback/stubs/python-jose/jose/jwt.pyi +4 -1
  304. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/display.pyi +2 -2
  305. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +4 -4
  306. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +1 -1
  307. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +13 -9
  308. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  309. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
  310. package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +6 -6
  311. package/package.json +1 -1
  312. package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +0 -10
  313. package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +0 -9
  314. package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +0 -14
  315. package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +0 -36
  316. package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +0 -7
  317. package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +0 -18
  318. package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +0 -27
  319. package/dist/typeshed-fallback/stubs/caldav/METADATA.toml +0 -9
  320. package/dist/typeshed-fallback/stubs/caldav/caldav/__init__.pyi +0 -4
  321. package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +0 -84
  322. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/__init__.pyi +0 -0
  323. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/base.pyi +0 -24
  324. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/cdav.pyi +0 -100
  325. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/dav.pyi +0 -63
  326. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/ical.pyi +0 -9
  327. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/__init__.pyi +0 -0
  328. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/error.pyi +0 -23
  329. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/namespace.pyi +0 -4
  330. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/url.pyi +0 -27
  331. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/vcal.pyi +0 -1
  332. package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +0 -263
  333. package/dist/typeshed-fallback/stubs/caldav/caldav/requests.pyi +0 -8
  334. package/dist/typeshed-fallback/stubs/corus/METADATA.toml +0 -6
  335. package/dist/typeshed-fallback/stubs/corus/corus/__init__.pyi +0 -1
  336. package/dist/typeshed-fallback/stubs/corus/corus/io.pyi +0 -21
  337. package/dist/typeshed-fallback/stubs/corus/corus/path.pyi +0 -0
  338. package/dist/typeshed-fallback/stubs/corus/corus/readme.pyi +0 -17
  339. package/dist/typeshed-fallback/stubs/corus/corus/record.pyi +0 -8
  340. package/dist/typeshed-fallback/stubs/corus/corus/sources/__init__.pyi +0 -23
  341. package/dist/typeshed-fallback/stubs/corus/corus/sources/bsnlp.pyi +0 -75
  342. package/dist/typeshed-fallback/stubs/corus/corus/sources/buriy.pyi +0 -18
  343. package/dist/typeshed-fallback/stubs/corus/corus/sources/corpora.pyi +0 -50
  344. package/dist/typeshed-fallback/stubs/corus/corus/sources/factru.pyi +0 -74
  345. package/dist/typeshed-fallback/stubs/corus/corus/sources/gareev.pyi +0 -21
  346. package/dist/typeshed-fallback/stubs/corus/corus/sources/gramru.pyi +0 -1
  347. package/dist/typeshed-fallback/stubs/corus/corus/sources/lenta.pyi +0 -19
  348. package/dist/typeshed-fallback/stubs/corus/corus/sources/librusec.pyi +0 -14
  349. package/dist/typeshed-fallback/stubs/corus/corus/sources/meta.pyi +0 -43
  350. package/dist/typeshed-fallback/stubs/corus/corus/sources/mokoron.pyi +0 -28
  351. package/dist/typeshed-fallback/stubs/corus/corus/sources/morphoru.pyi +0 -24
  352. package/dist/typeshed-fallback/stubs/corus/corus/sources/ne5.pyi +0 -28
  353. package/dist/typeshed-fallback/stubs/corus/corus/sources/ods.pyi +0 -46
  354. package/dist/typeshed-fallback/stubs/corus/corus/sources/omnia.pyi +0 -49
  355. package/dist/typeshed-fallback/stubs/corus/corus/sources/persons.pyi +0 -27
  356. package/dist/typeshed-fallback/stubs/corus/corus/sources/ria.pyi +0 -21
  357. package/dist/typeshed-fallback/stubs/corus/corus/sources/rudrec.pyi +0 -27
  358. package/dist/typeshed-fallback/stubs/corus/corus/sources/russe.pyi +0 -16
  359. package/dist/typeshed-fallback/stubs/corus/corus/sources/simlex.pyi +0 -14
  360. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/__init__.pyi +0 -10
  361. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/arzamas.pyi +0 -4
  362. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/common.pyi +0 -69
  363. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/fontanka.pyi +0 -4
  364. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/interfax.pyi +0 -4
  365. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/kp.pyi +0 -4
  366. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/lenta.pyi +0 -4
  367. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/magazines.pyi +0 -4
  368. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/nplus1.pyi +0 -4
  369. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/proza.pyi +0 -6
  370. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/social.pyi +0 -15
  371. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/subtitles.pyi +0 -6
  372. package/dist/typeshed-fallback/stubs/corus/corus/sources/toloka.pyi +0 -28
  373. package/dist/typeshed-fallback/stubs/corus/corus/sources/ud.pyi +0 -29
  374. package/dist/typeshed-fallback/stubs/corus/corus/sources/wiki.pyi +0 -20
  375. package/dist/typeshed-fallback/stubs/corus/corus/sources/wikiner.pyi +0 -19
  376. package/dist/typeshed-fallback/stubs/corus/corus/third/WikiExtractor.pyi +0 -225
  377. package/dist/typeshed-fallback/stubs/corus/corus/third/__init__.pyi +0 -0
  378. package/dist/typeshed-fallback/stubs/corus/corus/zip.pyi +0 -28
  379. package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +0 -9
  380. package/dist/typeshed-fallback/stubs/pygit2/pygit2/__init__.pyi +0 -60
  381. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_build.pyi +0 -5
  382. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_libgit2.pyi +0 -4
  383. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +0 -763
  384. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_run.pyi +0 -15
  385. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blame.pyi +0 -34
  386. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blob.pyi +0 -25
  387. package/dist/typeshed-fallback/stubs/pygit2/pygit2/branches.pyi +0 -17
  388. package/dist/typeshed-fallback/stubs/pygit2/pygit2/callbacks.pyi +0 -78
  389. package/dist/typeshed-fallback/stubs/pygit2/pygit2/config.pyi +0 -59
  390. package/dist/typeshed-fallback/stubs/pygit2/pygit2/credentials.pyi +0 -34
  391. package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +0 -394
  392. package/dist/typeshed-fallback/stubs/pygit2/pygit2/errors.pyi +0 -6
  393. package/dist/typeshed-fallback/stubs/pygit2/pygit2/ffi.pyi +0 -1
  394. package/dist/typeshed-fallback/stubs/pygit2/pygit2/filter.pyi +0 -11
  395. package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +0 -59
  396. package/dist/typeshed-fallback/stubs/pygit2/pygit2/legacyenums.pyi +0 -62
  397. package/dist/typeshed-fallback/stubs/pygit2/pygit2/packbuilder.pyi +0 -15
  398. package/dist/typeshed-fallback/stubs/pygit2/pygit2/references.pyi +0 -18
  399. package/dist/typeshed-fallback/stubs/pygit2/pygit2/refspec.pyi +0 -18
  400. package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +0 -84
  401. package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +0 -211
  402. package/dist/typeshed-fallback/stubs/pygit2/pygit2/settings.pyi +0 -37
  403. package/dist/typeshed-fallback/stubs/pygit2/pygit2/submodules.pyi +0 -44
  404. package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +0 -49
  405. package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +0 -9
  406. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/__init__.pyi +0 -7
  407. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/core.pyi +0 -4
@@ -1,4 +1,4 @@
1
- from collections.abc import Container, Mapping
1
+ from collections.abc import Container, Iterable, Mapping
2
2
  from typing import Any
3
3
 
4
4
  from .backends.base import Key
@@ -13,7 +13,7 @@ def sign(
13
13
  ) -> str: ...
14
14
  def verify(
15
15
  token: str | bytes,
16
- key: str | bytes | Mapping[str, Any] | Key,
16
+ key: str | bytes | Mapping[str, Any] | Key | Iterable[str],
17
17
  # Callers of this function, like jwt.decode(), and functions called internally,
18
18
  # like jws._verify_signature(), use and accept algorithms=None
19
19
  algorithms: str | Container[str] | None,
@@ -1,8 +1,11 @@
1
1
  from collections.abc import Container, Iterable, Mapping, MutableMapping
2
+ from datetime import timezone
2
3
  from typing import Any
3
4
 
4
5
  from .backends.base import Key
5
6
 
7
+ UTC: timezone
8
+
6
9
  def encode(
7
10
  claims: MutableMapping[str, Any],
8
11
  # Internally it calls jws.sign() that expects a key dict instance instead of Mapping
@@ -13,7 +16,7 @@ def encode(
13
16
  ) -> str: ...
14
17
  def decode(
15
18
  token: str | bytes,
16
- key: str | bytes | Mapping[str, Any] | Key,
19
+ key: str | bytes | Mapping[str, Any] | Key | Iterable[str],
17
20
  algorithms: str | Container[str] | None = None,
18
21
  options: Mapping[str, Any] | None = None,
19
22
  audience: str | None = None,
@@ -1,4 +1,4 @@
1
- from _typeshed import _BufferWithLen
1
+ from _typeshed import SizedBuffer
2
2
  from socket import socket
3
3
  from typing import Literal, TypeVar, overload
4
4
 
@@ -16,7 +16,7 @@ class bytesview:
16
16
  @overload
17
17
  def __init__(self, data: bytes | bytesview, offset: int, size: int) -> None: ...
18
18
  @overload
19
- def __init__(self, data: _BufferWithLen, offset: int = 0, size: int | None = None) -> None: ...
19
+ def __init__(self, data: SizedBuffer, offset: int = 0, size: int | None = None) -> None: ...
20
20
  @overload
21
21
  def __getitem__(self, key: slice) -> bytes: ...
22
22
  @overload
@@ -46,10 +46,10 @@ class DataMatrix(Barcode, _DMTXCheck):
46
46
  def recalc(self) -> None: ...
47
47
  @property
48
48
  def matrix(self): ...
49
- @property # type: ignore[misc]
50
- def width(self): ...
51
- @property # type: ignore[misc]
52
- def height(self): ...
49
+ @property # type: ignore[misc] # TODO: for mypy < 1.16
50
+ def width(self): ... # type: ignore[override]
51
+ @property # type: ignore[misc] # TODO: for mypy < 1.16
52
+ def height(self): ... # type: ignore[override]
53
53
  @property
54
54
  def cellWidth(self): ...
55
55
  @property
@@ -22,7 +22,7 @@ class Ean13BarcodeWidget(PlotArea):
22
22
  value: Incomplete
23
23
  def __init__(self, value: str = "123456789012", **kw) -> None: ...
24
24
  @property
25
- def width(self): ...
25
+ def width(self): ... # type: ignore[override]
26
26
  def wrap(self, aW, aH): ...
27
27
  def draw(self): ...
28
28
 
@@ -177,16 +177,20 @@ class Canvas(_PDFColorSetter):
177
177
  fontSize: float = 3,
178
178
  ) -> None: ...
179
179
  def grid(self, xlist, ylist) -> None: ...
180
- def bezier(self, x1, y1, x2, y2, x3, y3, x4, y4) -> None: ...
181
- def arc(self, x1, y1, x2, y2, startAng: int = 0, extent: int = 90) -> None: ...
182
- def rect(self, x, y, width, height, stroke: int = 1, fill: int = 0) -> None: ...
183
- def ellipse(self, x1, y1, x2, y2, stroke: int = 1, fill: int = 0) -> None: ...
184
- def wedge(self, x1, y1, x2, y2, startAng, extent, stroke: int = 1, fill: int = 0) -> None: ...
185
- def circle(self, x_cen, y_cen, r, stroke: int = 1, fill: int = 0) -> None: ...
186
- def roundRect(self, x, y, width, height, radius, stroke: int = 1, fill: int = 0) -> None: ...
180
+ def bezier(self, x1: float, y1: float, x2: float, y2: float, x3: float, y3: float, x4: float, y4: float) -> None: ...
181
+ def arc(self, x1: float, y1: float, x2: float, y2: float, startAng: float = 0, extent: float = 90) -> None: ...
182
+ def rect(self, x: float, y: float, width: float, height: float, stroke: float = 1, fill: float = 0) -> None: ...
183
+ def ellipse(self, x1: float, y1: float, x2: float, y2: float, stroke: float = 1, fill: float = 0) -> None: ...
184
+ def wedge(
185
+ self, x1: float, y1: float, x2: float, y2: float, startAng: float, extent: float, stroke: float = 1, fill: float = 0
186
+ ) -> None: ...
187
+ def circle(self, x_cen: float, y_cen: float, r: float, stroke: float = 1, fill: float = 0) -> None: ...
188
+ def roundRect(
189
+ self, x: float, y: float, width: float, height: float, radius: float, stroke: float = 1, fill: float = 0
190
+ ) -> None: ...
187
191
  def shade(self, shading) -> None: ...
188
- def linearGradient(self, x0, y0, x1, y1, colors, positions=None, extend: bool = True) -> None: ...
189
- def radialGradient(self, x, y, radius, colors, positions=None, extend: bool = True) -> None: ...
192
+ def linearGradient(self, x0: float, y0: float, x1: float, y1: float, colors, positions=None, extend: bool = True) -> None: ...
193
+ def radialGradient(self, x: float, y: float, radius: float, colors, positions=None, extend: bool = True) -> None: ...
190
194
  def drawString(
191
195
  self,
192
196
  x: float,
@@ -1,4 +1,4 @@
1
- version = "80.7.*"
1
+ version = "80.9.*"
2
2
  upstream_repository = "https://github.com/pypa/setuptools"
3
3
  extra_description = """\
4
4
  Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
@@ -14,7 +14,7 @@ class Behavior:
14
14
  forceUTC: bool
15
15
  sortFirst: Incomplete
16
16
  @classmethod
17
- def validate(cls, obj, raiseException: bool = False, complainUnrecognized: bool = False): ...
17
+ def validate(cls, obj, raiseException: bool = False, complainUnrecognized: bool = False) -> bool: ...
18
18
  @classmethod
19
19
  def lineValidate(cls, line, raiseException, complainUnrecognized): ...
20
20
  @classmethod
@@ -118,7 +118,7 @@ class VTimezone(VCalendarComponentBehavior):
118
118
  description: str
119
119
  sortFirst: Incomplete
120
120
  @classmethod
121
- def validate(cls, obj, raiseException, *args): ...
121
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
122
122
  @staticmethod
123
123
  def transformToNative(obj): ...
124
124
  @staticmethod
@@ -134,13 +134,13 @@ class VEvent(RecurringBehavior):
134
134
  sortFirst: Incomplete
135
135
  description: str
136
136
  @classmethod
137
- def validate(cls, obj, raiseException, *args): ...
137
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
138
138
 
139
139
  class VTodo(RecurringBehavior):
140
140
  name: str
141
141
  description: str
142
142
  @classmethod
143
- def validate(cls, obj, raiseException, *args): ...
143
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
144
144
 
145
145
  class VJournal(RecurringBehavior):
146
146
  name: str
@@ -156,21 +156,21 @@ class VAlarm(VCalendarComponentBehavior):
156
156
  @staticmethod
157
157
  def generateImplicitParameters(obj) -> None: ...
158
158
  @classmethod
159
- def validate(cls, obj, raiseException, *args): ...
159
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
160
160
 
161
161
  class VAvailability(VCalendarComponentBehavior):
162
162
  name: str
163
163
  description: str
164
164
  sortFirst: Incomplete
165
165
  @classmethod
166
- def validate(cls, obj, raiseException, *args): ...
166
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
167
167
 
168
168
  class Available(RecurringBehavior):
169
169
  name: str
170
170
  sortFirst: Incomplete
171
171
  description: str
172
172
  @classmethod
173
- def validate(cls, obj, raiseException, *args): ...
173
+ def validate(cls, obj, raiseException: bool, *args) -> bool: ... # type: ignore[override]
174
174
 
175
175
  class Duration(Behavior):
176
176
  name: str
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "basedpyright",
3
3
  "displayName": "basedpyright",
4
4
  "description": "a fork of pyright with various type checking improvements, pylance features and more.",
5
- "version": "1.29.2",
5
+ "version": "1.29.3",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"
@@ -1,10 +0,0 @@
1
- version = "2.3.*"
2
- upstream_repository = "https://github.com/google/atheris"
3
- partial_stub = true
4
-
5
- [tool.stubtest]
6
- ignore_missing_stub = true
7
- # TODO (2025-03-05): unskip once `atheris` can be installed on `ubuntu-24.04`,
8
- # see https://github.com/python/typeshed/pull/13582 and
9
- # https://github.com/google/atheris/issues/82
10
- skip = true
@@ -1,9 +0,0 @@
1
- from collections.abc import Callable
2
-
3
- def Setup(
4
- args: list[str],
5
- test_one_input: Callable[[bytes], None],
6
- **kwargs: bool | Callable[[bytes, int, int], str | bytes] | Callable[[bytes, bytes, int, int], str | bytes] | None,
7
- ) -> list[str]: ...
8
- def Fuzz() -> None: ...
9
- def Mutate(data: bytes, max_size: int) -> bytes: ...
@@ -1,14 +0,0 @@
1
- from typing import Any
2
-
3
- def hook_re_module() -> None: ...
4
-
5
- class EnabledHooks:
6
- def __init__(self) -> None: ...
7
- def add(self, hook: str) -> None: ...
8
- def __contains__(self, hook: str) -> bool: ...
9
-
10
- enabled_hooks: EnabledHooks
11
-
12
- # args[1] is an arbitrary string method that is called
13
- # with the subsequent arguments, so they will vary
14
- def _hook_str(*args: Any, **kwargs: Any) -> bool: ...
@@ -1,36 +0,0 @@
1
- import types
2
- from collections.abc import Sequence
3
- from importlib import abc, machinery
4
- from typing_extensions import Self
5
-
6
- def _should_skip(loader: abc.Loader) -> bool: ...
7
-
8
- class AtherisMetaPathFinder(abc.MetaPathFinder):
9
- def __init__(
10
- self, include_packages: set[str], exclude_modules: set[str], enable_loader_override: bool, trace_dataflow: bool
11
- ) -> None: ...
12
- def find_spec(
13
- self, fullname: str, path: Sequence[str] | None, target: types.ModuleType | None = None
14
- ) -> machinery.ModuleSpec | None: ...
15
- def invalidate_caches(self) -> None: ...
16
-
17
- class AtherisSourceFileLoader:
18
- def __init__(self, name: str, path: str, trace_dataflow: bool) -> None: ...
19
- def get_code(self, fullname: str) -> types.CodeType | None: ...
20
-
21
- class AtherisSourcelessFileLoader:
22
- def __init__(self, name: str, path: str, trace_dataflow: bool) -> None: ...
23
- def get_code(self, fullname: str) -> types.CodeType | None: ...
24
-
25
- def make_dynamic_atheris_loader(loader: abc.Loader | type[abc.Loader], trace_dataflow: bool) -> abc.Loader: ...
26
-
27
- class HookManager:
28
- def __init__(
29
- self, include_packages: set[str], exclude_modules: set[str], enable_loader_override: bool, trace_dataflow: bool
30
- ) -> None: ...
31
- def __enter__(self) -> Self: ...
32
- def __exit__(self, *args: object) -> None: ...
33
-
34
- def instrument_imports(
35
- include: Sequence[str] | None = None, exclude: Sequence[str] | None = None, enable_loader_override: bool = True
36
- ) -> HookManager: ...
@@ -1,7 +0,0 @@
1
- from collections.abc import Callable
2
- from typing import TypeVar
3
-
4
- _T = TypeVar("_T")
5
-
6
- def instrument_func(func: Callable[..., _T]) -> Callable[..., _T]: ...
7
- def instrument_all() -> None: ...
@@ -1,18 +0,0 @@
1
- from typing import Protocol, type_check_only
2
-
3
- def path() -> str: ...
4
- @type_check_only
5
- class _Writer(Protocol):
6
- def isatty(self) -> bool: ...
7
- def write(self, content: str, /) -> object: ...
8
- def flush(self) -> object: ...
9
-
10
- class ProgressRenderer:
11
- def __init__(self, stream: _Writer, total_count: int) -> None: ...
12
- def render(self) -> None: ...
13
- def erase(self) -> None: ...
14
- def drop(self) -> None: ...
15
- @property
16
- def count(self) -> int: ...
17
- @count.setter
18
- def count(self, new_count: int) -> None: ...
@@ -1,27 +0,0 @@
1
- import types
2
- from typing import Final
3
-
4
- PYTHON_VERSION: Final[tuple[int, int]]
5
- CONDITIONAL_JUMPS: Final[list[str]]
6
- UNCONDITIONAL_JUMPS: Final[list[str]]
7
- ENDS_FUNCTION: Final[list[str]]
8
- HAVE_REL_REFERENCE: Final[list[str]]
9
- HAVE_ABS_REFERENCE: Final[list[str]]
10
- REL_REFERENCE_IS_INVERTED: Final[list[str]]
11
-
12
- def rel_reference_scale(opname: str) -> int: ...
13
-
14
- REVERSE_CMP_OP: Final[list[int]]
15
-
16
- def jump_arg_bytes(arg: int) -> int: ...
17
- def add_bytes_to_jump_arg(arg: int, size: int) -> int: ...
18
-
19
- class ExceptionTableEntry:
20
- def __init__(self, start_offset: int, end_offset: int, target: int, depth: int, lasti: bool) -> None: ...
21
- def __eq__(self, other: object) -> bool: ...
22
-
23
- class ExceptionTable:
24
- def __init__(self, entries: list[ExceptionTableEntry]) -> None: ...
25
- def __eq__(self, other: object) -> bool: ...
26
-
27
- def generate_exceptiontable(original_code: types.CodeType, exception_table_entries: list[ExceptionTableEntry]) -> bytes: ...
@@ -1,9 +0,0 @@
1
- version = "1.3.*"
2
- upstream_repository = "https://github.com/python-caldav/caldav"
3
- # also types-lxml and types-icalendar when those stubs are added
4
- requires = ["types-requests", "types-vobject"]
5
- partial_stub = true
6
- obsolete_since = "1.4.0" # Released on 2024-11-05
7
-
8
- [tool.stubtest]
9
- ignore_missing_stub = true
@@ -1,4 +0,0 @@
1
- from .davclient import DAVClient as DAVClient
2
- from .objects import *
3
-
4
- __version__: str
@@ -1,84 +0,0 @@
1
- from _typeshed import Incomplete
2
- from collections.abc import Iterable, Mapping
3
- from types import TracebackType
4
- from typing_extensions import Self, TypeAlias
5
- from urllib.parse import ParseResult, SplitResult
6
-
7
- from requests.auth import AuthBase
8
- from requests.models import Response
9
- from requests.sessions import _Timeout
10
- from requests.structures import CaseInsensitiveDict
11
-
12
- from .lib.url import URL
13
- from .objects import Calendar, DAVObject, Principal
14
-
15
- _Element: TypeAlias = Incomplete # actually lxml.etree._Element
16
-
17
- class DAVResponse:
18
- reason: str
19
- tree: _Element | None
20
- status: int
21
- headers: CaseInsensitiveDict[str]
22
- objects: dict[str, dict[str, str]] # only defined after call to find_objects_and_props()
23
- huge_tree: bool
24
- def __init__(self, response: Response, davclient: DAVClient | None = None) -> None: ...
25
- @property
26
- def raw(self) -> str: ...
27
- def validate_status(self, status: str) -> None: ...
28
- def find_objects_and_props(self) -> None: ...
29
- def expand_simple_props(
30
- self, props: Iterable[Incomplete] = [], multi_value_props: Iterable[Incomplete] = [], xpath: str | None = None
31
- ) -> dict[str, dict[str, str]]: ...
32
-
33
- class DAVClient:
34
- proxy: str | None
35
- url: URL
36
- headers: dict[str, str]
37
- username: str | None
38
- password: str | None
39
- auth: AuthBase | None
40
- timeout: _Timeout | None
41
- ssl_verify_cert: bool | str
42
- ssl_cert: str | tuple[str, str] | None
43
- huge_tree: bool
44
- def __init__(
45
- self,
46
- url: str,
47
- proxy: str | None = None,
48
- username: str | None = None,
49
- password: str | None = None,
50
- auth: AuthBase | None = None,
51
- timeout: _Timeout | None = None,
52
- ssl_verify_cert: bool | str = True,
53
- ssl_cert: str | tuple[str, str] | None = None,
54
- headers: dict[str, str] = {},
55
- huge_tree: bool = False,
56
- ) -> None: ...
57
- def __enter__(self) -> Self: ...
58
- def __exit__(
59
- self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
60
- ) -> None: ...
61
- def principal(self, *, url: str | ParseResult | SplitResult | URL | None = None) -> Principal: ...
62
- def calendar(
63
- self,
64
- *,
65
- url: str | ParseResult | SplitResult | URL | None = ...,
66
- parent: DAVObject | None = ...,
67
- name: str | None = ...,
68
- id: str | None = ...,
69
- props: Mapping[Incomplete, Incomplete] = ...,
70
- **extra,
71
- ) -> Calendar: ...
72
- def check_dav_support(self) -> str | None: ...
73
- def check_cdav_support(self) -> bool: ...
74
- def check_scheduling_support(self) -> bool: ...
75
- def propfind(self, url: str | None = None, props: str = "", depth: int = 0) -> DAVResponse: ...
76
- def proppatch(self, url: str, body: str, dummy: None = None) -> DAVResponse: ...
77
- def report(self, url: str, query: str = "", depth: int = 0) -> DAVResponse: ...
78
- def mkcol(self, url: str, body: str, dummy: None = None) -> DAVResponse: ...
79
- def mkcalendar(self, url: str, body: str = "", dummy: None = None) -> DAVResponse: ...
80
- def put(self, url: str, body: str, headers: Mapping[str, str] = {}) -> DAVResponse: ...
81
- def post(self, url: str, body: str, headers: Mapping[str, str] = {}) -> DAVResponse: ...
82
- def delete(self, url: str) -> DAVResponse: ...
83
- def options(self, url: str) -> DAVResponse: ...
84
- def request(self, url: str, method: str = "GET", body: str = "", headers: Mapping[str, str] = {}) -> DAVResponse: ...
@@ -1,24 +0,0 @@
1
- from _typeshed import Incomplete
2
- from collections.abc import Iterable
3
- from typing import Any, ClassVar
4
- from typing_extensions import Self, TypeAlias
5
-
6
- _Element: TypeAlias = Any # actually lxml.etree._Element
7
-
8
- class BaseElement:
9
- tag: ClassVar[str | None]
10
- children: list[BaseElement]
11
- value: str | None
12
- attributes: Incomplete | None
13
- caldav_class: Incomplete | None
14
- def __init__(self, name: str | None = None, value: str | bytes | None = None) -> None: ...
15
- def __add__(self, other: BaseElement) -> Self: ...
16
- def xmlelement(self) -> _Element: ...
17
- def xmlchildren(self, root: _Element) -> None: ...
18
- def append(self, element: BaseElement | Iterable[BaseElement]) -> Self: ...
19
-
20
- class NamedBaseElement(BaseElement):
21
- def __init__(self, name: str | None = None) -> None: ...
22
-
23
- class ValuedBaseElement(BaseElement):
24
- def __init__(self, value: str | bytes | None = None) -> None: ...
@@ -1,100 +0,0 @@
1
- import datetime
2
- from typing import ClassVar
3
-
4
- from .base import BaseElement, NamedBaseElement, ValuedBaseElement
5
-
6
- class CalendarQuery(BaseElement):
7
- tag: ClassVar[str]
8
-
9
- class FreeBusyQuery(BaseElement):
10
- tag: ClassVar[str]
11
-
12
- class Mkcalendar(BaseElement):
13
- tag: ClassVar[str]
14
-
15
- class CalendarMultiGet(BaseElement):
16
- tag: ClassVar[str]
17
-
18
- class ScheduleInboxURL(BaseElement):
19
- tag: ClassVar[str]
20
-
21
- class ScheduleOutboxURL(BaseElement):
22
- tag: ClassVar[str]
23
-
24
- class Filter(BaseElement):
25
- tag: ClassVar[str]
26
-
27
- class CompFilter(NamedBaseElement):
28
- tag: ClassVar[str]
29
-
30
- class PropFilter(NamedBaseElement):
31
- tag: ClassVar[str]
32
-
33
- class ParamFilter(NamedBaseElement):
34
- tag: ClassVar[str]
35
-
36
- class TextMatch(ValuedBaseElement):
37
- tag: ClassVar[str]
38
- def __init__(self, value, collation: str = "i;octet", negate: bool = False) -> None: ...
39
-
40
- class TimeRange(BaseElement):
41
- tag: ClassVar[str]
42
- def __init__(self, start: datetime.datetime | None = None, end: datetime.datetime | None = None) -> None: ...
43
-
44
- class NotDefined(BaseElement):
45
- tag: ClassVar[str]
46
-
47
- class CalendarData(BaseElement):
48
- tag: ClassVar[str]
49
-
50
- class Expand(BaseElement):
51
- tag: ClassVar[str]
52
- def __init__(self, start: datetime.datetime | None, end: datetime.datetime | None = None) -> None: ...
53
-
54
- class Comp(NamedBaseElement):
55
- tag: ClassVar[str]
56
-
57
- class CalendarUserAddressSet(BaseElement):
58
- tag: ClassVar[str]
59
-
60
- class CalendarUserType(BaseElement):
61
- tag: ClassVar[str]
62
-
63
- class CalendarHomeSet(BaseElement):
64
- tag: ClassVar[str]
65
-
66
- class Calendar(BaseElement):
67
- tag: ClassVar[str]
68
-
69
- class CalendarDescription(ValuedBaseElement):
70
- tag: ClassVar[str]
71
-
72
- class CalendarTimeZone(ValuedBaseElement):
73
- tag: ClassVar[str]
74
-
75
- class SupportedCalendarComponentSet(ValuedBaseElement):
76
- tag: ClassVar[str]
77
-
78
- class SupportedCalendarData(ValuedBaseElement):
79
- tag: ClassVar[str]
80
-
81
- class MaxResourceSize(ValuedBaseElement):
82
- tag: ClassVar[str]
83
-
84
- class MinDateTime(ValuedBaseElement):
85
- tag: ClassVar[str]
86
-
87
- class MaxDateTime(ValuedBaseElement):
88
- tag: ClassVar[str]
89
-
90
- class MaxInstances(ValuedBaseElement):
91
- tag: ClassVar[str]
92
-
93
- class MaxAttendeesPerInstance(ValuedBaseElement):
94
- tag: ClassVar[str]
95
-
96
- class Allprop(BaseElement):
97
- tag: ClassVar[str]
98
-
99
- class ScheduleTag(BaseElement):
100
- tag: ClassVar[str]
@@ -1,63 +0,0 @@
1
- from typing import ClassVar
2
-
3
- from .base import BaseElement, ValuedBaseElement
4
-
5
- class Propfind(BaseElement):
6
- tag: ClassVar[str]
7
-
8
- class PropertyUpdate(BaseElement):
9
- tag: ClassVar[str]
10
-
11
- class Mkcol(BaseElement):
12
- tag: ClassVar[str]
13
-
14
- class SyncCollection(BaseElement):
15
- tag: ClassVar[str]
16
-
17
- class SyncToken(BaseElement):
18
- tag: ClassVar[str]
19
-
20
- class SyncLevel(BaseElement):
21
- tag: ClassVar[str]
22
-
23
- class Prop(BaseElement):
24
- tag: ClassVar[str]
25
-
26
- class Collection(BaseElement):
27
- tag: ClassVar[str]
28
-
29
- class Set(BaseElement):
30
- tag: ClassVar[str]
31
-
32
- class ResourceType(BaseElement):
33
- tag: ClassVar[str]
34
-
35
- class DisplayName(ValuedBaseElement):
36
- tag: ClassVar[str]
37
-
38
- class GetEtag(ValuedBaseElement):
39
- tag: ClassVar[str]
40
-
41
- class Href(BaseElement):
42
- tag: ClassVar[str]
43
-
44
- class Response(BaseElement):
45
- tag: ClassVar[str]
46
-
47
- class Status(BaseElement):
48
- tag: ClassVar[str]
49
-
50
- class PropStat(BaseElement):
51
- tag: ClassVar[str]
52
-
53
- class MultiStatus(BaseElement):
54
- tag: ClassVar[str]
55
-
56
- class CurrentUserPrincipal(BaseElement):
57
- tag: ClassVar[str]
58
-
59
- class PrincipalCollectionSet(BaseElement):
60
- tag: ClassVar[str]
61
-
62
- class Allprop(BaseElement):
63
- tag: ClassVar[str]
@@ -1,9 +0,0 @@
1
- from typing import ClassVar
2
-
3
- from .base import ValuedBaseElement
4
-
5
- class CalendarColor(ValuedBaseElement):
6
- tag: ClassVar[str]
7
-
8
- class CalendarOrder(ValuedBaseElement):
9
- tag: ClassVar[str]
@@ -1,23 +0,0 @@
1
- def assert_(condition: object) -> None: ...
2
-
3
- ERR_FRAGMENT: str
4
-
5
- class DAVError(Exception):
6
- url: str | None
7
- reason: str
8
- def __init__(self, url: str | None = None, reason: str | None = None) -> None: ...
9
-
10
- class AuthorizationError(DAVError): ...
11
- class PropsetError(DAVError): ...
12
- class ProppatchError(DAVError): ...
13
- class PropfindError(DAVError): ...
14
- class ReportError(DAVError): ...
15
- class MkcolError(DAVError): ...
16
- class MkcalendarError(DAVError): ...
17
- class PutError(DAVError): ...
18
- class DeleteError(DAVError): ...
19
- class NotFoundError(DAVError): ...
20
- class ConsistencyError(DAVError): ...
21
- class ResponseError(DAVError): ...
22
-
23
- exception_by_method: dict[str, type[DAVError]]
@@ -1,4 +0,0 @@
1
- nsmap: dict[str, str]
2
- nsmap2: dict[str, str]
3
-
4
- def ns(prefix: str, tag: str | None = None) -> str: ...