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,59 +0,0 @@
1
- from _typeshed import StrOrBytesPath, StrPath
2
- from collections.abc import Iterator
3
- from typing_extensions import Self, deprecated
4
-
5
- from _cffi_backend import _CDataBase
6
-
7
- from ._pygit2 import Diff, Oid, Tree
8
- from .enums import DiffOption, FileMode
9
- from .repository import BaseRepository
10
- from .utils import _IntoStrArray
11
-
12
- class Index:
13
- def __init__(self, path: StrOrBytesPath | None = None) -> None: ...
14
- @classmethod
15
- def from_c(cls, repo: _CDataBase, ptr: _CDataBase) -> Index: ...
16
- def __del__(self) -> None: ...
17
- def __len__(self) -> int: ...
18
- def __contains__(self, path: StrOrBytesPath | None) -> bool: ...
19
- def __getitem__(self, key: StrPath | int) -> IndexEntry: ...
20
- def __iter__(self) -> Iterator[IndexEntry]: ...
21
- def read(self, force: bool = True) -> None: ...
22
- def write(self) -> None: ...
23
- def clear(self) -> None: ...
24
- def read_tree(self, tree: str | Oid | Tree) -> None: ...
25
- def write_tree(self, repo: BaseRepository | None = None) -> Oid: ...
26
- def remove(self, path: StrOrBytesPath, level: int = 0) -> None: ...
27
- def remove_all(self, pathspecs: _IntoStrArray) -> None: ...
28
- def add_all(self, pathspecs: _IntoStrArray = None) -> None: ...
29
- def add(self, path_or_entry: IndexEntry | StrPath) -> None: ...
30
- def diff_to_workdir(self, flags: DiffOption = ..., context_lines: int = 3, interhunk_lines: int = 0) -> Diff: ...
31
- def diff_to_tree(self, tree: Tree, flags: DiffOption = ..., context_lines: int = 3, interhunk_lines: int = 0) -> Diff: ...
32
- @property
33
- def conflicts(self) -> ConflictCollection | None: ...
34
-
35
- class IndexEntry:
36
- path: str
37
- id: Oid
38
- mode: FileMode
39
- def __init__(self, path: str, object_id: Oid, mode: FileMode) -> None: ...
40
- @property
41
- def oid(self) -> Oid: ...
42
- @property
43
- @deprecated("Use str(entry.id)")
44
- def hex(self) -> str: ...
45
- def __eq__(self, other: object) -> bool: ...
46
-
47
- class ConflictCollection:
48
- def __init__(self, index: Index) -> None: ...
49
- def __getitem__(self, path: StrOrBytesPath) -> tuple[IndexEntry, IndexEntry, IndexEntry]: ...
50
- def __delitem__(self, path: StrOrBytesPath) -> None: ...
51
- def __iter__(self) -> ConflictIterator: ...
52
- def __contains__(self, path: StrOrBytesPath) -> bool: ...
53
-
54
- class ConflictIterator:
55
- def __init__(self, index: Index) -> None: ...
56
- def __del__(self) -> None: ...
57
- def next(self) -> tuple[IndexEntry, IndexEntry, IndexEntry]: ...
58
- def __next__(self) -> tuple[IndexEntry, IndexEntry, IndexEntry]: ...
59
- def __iter__(self) -> Self: ...
@@ -1,62 +0,0 @@
1
- GIT_FEATURE_THREADS: int
2
- GIT_FEATURE_HTTPS: int
3
- GIT_FEATURE_SSH: int
4
- GIT_FEATURE_NSEC: int
5
- GIT_REPOSITORY_INIT_BARE: int
6
- GIT_REPOSITORY_INIT_NO_REINIT: int
7
- GIT_REPOSITORY_INIT_NO_DOTGIT_DIR: int
8
- GIT_REPOSITORY_INIT_MKDIR: int
9
- GIT_REPOSITORY_INIT_MKPATH: int
10
- GIT_REPOSITORY_INIT_EXTERNAL_TEMPLATE: int
11
- GIT_REPOSITORY_INIT_RELATIVE_GITLINK: int
12
- GIT_REPOSITORY_INIT_SHARED_UMASK: int
13
- GIT_REPOSITORY_INIT_SHARED_GROUP: int
14
- GIT_REPOSITORY_INIT_SHARED_ALL: int
15
- GIT_REPOSITORY_OPEN_NO_SEARCH: int
16
- GIT_REPOSITORY_OPEN_CROSS_FS: int
17
- GIT_REPOSITORY_OPEN_BARE: int
18
- GIT_REPOSITORY_OPEN_NO_DOTGIT: int
19
- GIT_REPOSITORY_OPEN_FROM_ENV: int
20
- GIT_REPOSITORY_STATE_NONE: int
21
- GIT_REPOSITORY_STATE_MERGE: int
22
- GIT_REPOSITORY_STATE_REVERT: int
23
- GIT_REPOSITORY_STATE_REVERT_SEQUENCE: int
24
- GIT_REPOSITORY_STATE_CHERRYPICK: int
25
- GIT_REPOSITORY_STATE_CHERRYPICK_SEQUENCE: int
26
- GIT_REPOSITORY_STATE_BISECT: int
27
- GIT_REPOSITORY_STATE_REBASE: int
28
- GIT_REPOSITORY_STATE_REBASE_INTERACTIVE: int
29
- GIT_REPOSITORY_STATE_REBASE_MERGE: int
30
- GIT_REPOSITORY_STATE_APPLY_MAILBOX: int
31
- GIT_REPOSITORY_STATE_APPLY_MAILBOX_OR_REBASE: int
32
- GIT_ATTR_CHECK_FILE_THEN_INDEX: int
33
- GIT_ATTR_CHECK_INDEX_THEN_FILE: int
34
- GIT_ATTR_CHECK_INDEX_ONLY: int
35
- GIT_ATTR_CHECK_NO_SYSTEM: int
36
- GIT_ATTR_CHECK_INCLUDE_HEAD: int
37
- GIT_ATTR_CHECK_INCLUDE_COMMIT: int
38
- GIT_FETCH_PRUNE_UNSPECIFIED: int
39
- GIT_FETCH_PRUNE: int
40
- GIT_FETCH_NO_PRUNE: int
41
- GIT_CHECKOUT_NOTIFY_NONE: int
42
- GIT_CHECKOUT_NOTIFY_CONFLICT: int
43
- GIT_CHECKOUT_NOTIFY_DIRTY: int
44
- GIT_CHECKOUT_NOTIFY_UPDATED: int
45
- GIT_CHECKOUT_NOTIFY_UNTRACKED: int
46
- GIT_CHECKOUT_NOTIFY_IGNORED: int
47
- GIT_CHECKOUT_NOTIFY_ALL: int
48
- GIT_STASH_APPLY_PROGRESS_NONE: int
49
- GIT_STASH_APPLY_PROGRESS_LOADING_STASH: int
50
- GIT_STASH_APPLY_PROGRESS_ANALYZE_INDEX: int
51
- GIT_STASH_APPLY_PROGRESS_ANALYZE_MODIFIED: int
52
- GIT_STASH_APPLY_PROGRESS_ANALYZE_UNTRACKED: int
53
- GIT_STASH_APPLY_PROGRESS_CHECKOUT_UNTRACKED: int
54
- GIT_STASH_APPLY_PROGRESS_CHECKOUT_MODIFIED: int
55
- GIT_STASH_APPLY_PROGRESS_DONE: int
56
- GIT_CREDENTIAL_USERPASS_PLAINTEXT: int
57
- GIT_CREDENTIAL_SSH_KEY: int
58
- GIT_CREDENTIAL_SSH_CUSTOM: int
59
- GIT_CREDENTIAL_DEFAULT: int
60
- GIT_CREDENTIAL_SSH_INTERACTIVE: int
61
- GIT_CREDENTIAL_USERNAME: int
62
- GIT_CREDENTIAL_SSH_MEMORY: int
@@ -1,15 +0,0 @@
1
- from _typeshed import StrOrBytesPath
2
-
3
- from ._pygit2 import Oid
4
- from .repository import BaseRepository
5
-
6
- class PackBuilder:
7
- def __init__(self, repo: BaseRepository) -> None: ...
8
- def __del__(self) -> None: ...
9
- def __len__(self) -> int: ...
10
- def add(self, oid: Oid) -> None: ...
11
- def add_recur(self, oid: Oid) -> None: ...
12
- def set_threads(self, n_threads: int) -> int: ...
13
- def write(self, path: StrOrBytesPath | None = None) -> None: ...
14
- @property
15
- def written_objects_count(self) -> int: ...
@@ -1,18 +0,0 @@
1
- from collections.abc import Iterator
2
-
3
- from ._pygit2 import Oid, Reference
4
- from .enums import ReferenceFilter
5
- from .repository import BaseRepository
6
-
7
- class References:
8
- def __init__(self, repository: BaseRepository) -> None: ...
9
- def __getitem__(self, name: str) -> Reference: ...
10
- def get(self, key: str) -> Reference | None: ...
11
- def __iter__(self) -> Iterator[Reference]: ...
12
- def iterator(self, references_return_type: ReferenceFilter = ...) -> Iterator[Reference]: ...
13
- def create(self, name: str, target: Oid | str, force: bool = False) -> Reference: ...
14
- def delete(self, name: str) -> None: ...
15
- def __contains__(self, name: str) -> bool: ...
16
- @property
17
- def objects(self) -> list[Reference]: ...
18
- def compress(self) -> None: ...
@@ -1,18 +0,0 @@
1
- from _cffi_backend import _CDataBase
2
-
3
- class Refspec:
4
- def __init__(self, owner: _CDataBase, ptr: _CDataBase) -> None: ...
5
- @property
6
- def src(self) -> str: ...
7
- @property
8
- def dst(self) -> str: ...
9
- @property
10
- def force(self) -> bool: ...
11
- @property
12
- def string(self) -> str: ...
13
- @property
14
- def direction(self) -> int: ...
15
- def src_matches(self, ref: str) -> bool: ...
16
- def dst_matches(self, ref: str) -> bool: ...
17
- def transform(self, ref: str) -> str: ...
18
- def rtransform(self, ref: str) -> str: ...
@@ -1,84 +0,0 @@
1
- from collections.abc import Iterator
2
- from typing import Literal, TypedDict
3
- from typing_extensions import TypeAlias
4
-
5
- from _cffi_backend import _CDataBase
6
-
7
- from ._pygit2 import Oid
8
- from .callbacks import RemoteCallbacks
9
- from .enums import FetchPrune
10
- from .refspec import Refspec
11
- from .repository import BaseRepository
12
- from .utils import _IntoStrArray
13
-
14
- class TransferProgress:
15
- total_objects: int
16
- indexed_objects: int
17
- received_objects: int
18
- local_objects: int
19
- total_deltas: int
20
- indexed_deltas: int
21
- received_bytes: int
22
- def __init__(self, tp: _CDataBase) -> None: ...
23
-
24
- _ProxySpec: TypeAlias = Literal[True] | str | None
25
-
26
- class _LsRemotesResultEntry(TypedDict):
27
- local: bool
28
- loid: Oid | None
29
- name: str | None
30
- symref_target: str | None
31
- oid: Oid
32
-
33
- class Remote:
34
- def __init__(self, repo: BaseRepository, ptr: _CDataBase) -> None: ...
35
- def __del__(self) -> None: ...
36
- @property
37
- def name(self) -> str | None: ...
38
- @property
39
- def url(self) -> str | None: ...
40
- @property
41
- def push_url(self) -> str | None: ...
42
- def connect(self, callbacks: RemoteCallbacks | None = None, direction: int = 0, proxy: _ProxySpec = None) -> None: ...
43
- def fetch(
44
- self,
45
- refspecs: _IntoStrArray = None,
46
- message: bytes | str | None = None,
47
- callbacks: RemoteCallbacks | None = None,
48
- prune: FetchPrune = ...,
49
- proxy: _ProxySpec = None,
50
- depth: int = 0,
51
- ) -> TransferProgress: ...
52
- def ls_remotes(self, callbacks: RemoteCallbacks | None = None, proxy: _ProxySpec = None) -> list[_LsRemotesResultEntry]: ...
53
- def prune(self, callbacks: RemoteCallbacks | None = None) -> None: ...
54
- @property
55
- def refspec_count(self) -> int: ...
56
- def get_refspec(self, n: int) -> Refspec: ...
57
- @property
58
- def fetch_refspecs(self) -> list[str]: ...
59
- @property
60
- def push_refspecs(self) -> list[str]: ...
61
- def push(
62
- self,
63
- specs: _IntoStrArray,
64
- callbacks: RemoteCallbacks | None = None,
65
- proxy: _ProxySpec = None,
66
- push_options: _IntoStrArray | None = None,
67
- ) -> None: ...
68
-
69
- _RemoteName: TypeAlias = bytes | str
70
-
71
- class RemoteCollection:
72
- def __init__(self, repo: BaseRepository) -> None: ...
73
- def __len__(self) -> int: ...
74
- def __iter__(self) -> Iterator[Remote]: ...
75
- def __getitem__(self, name: int | _RemoteName) -> Remote: ...
76
- def names(self) -> Iterator[str | None]: ...
77
- def create(self, name: _RemoteName, url: bytes | str, fetch: bytes | str | None = None) -> Remote: ...
78
- def create_anonymous(self, url: bytes | str) -> Remote: ...
79
- def rename(self, name: _RemoteName, new_name: bytes | str) -> list[str]: ...
80
- def delete(self, name: _RemoteName) -> None: ...
81
- def set_url(self, name: _RemoteName, url: bytes | str) -> None: ...
82
- def set_push_url(self, name: _RemoteName, url: bytes | str) -> None: ...
83
- def add_fetch(self, name: _RemoteName, refspec: bytes | str) -> None: ...
84
- def add_push(self, name: _RemoteName, refspec: bytes | str) -> None: ...
@@ -1,211 +0,0 @@
1
- from _typeshed import StrOrBytesPath
2
- from collections.abc import Callable, Iterator
3
- from tarfile import TarInfo
4
- from typing import IO, Any, Protocol
5
- from typing_extensions import TypeAlias
6
-
7
- from ._pygit2 import Blob, Commit, Diff, Object, Oid, Reference, Repository as _Repository, Signature, Tree, _OidArg
8
- from .blame import Blame
9
- from .branches import Branches
10
- from .callbacks import CheckoutCallbacks, StashApplyCallbacks
11
- from .config import Config
12
- from .enums import (
13
- AttrCheck,
14
- BlameFlag,
15
- BranchType as BranchType,
16
- CheckoutStrategy,
17
- DescribeStrategy,
18
- DiffOption,
19
- MergeFavor,
20
- MergeFileFlag,
21
- MergeFlag,
22
- RepositoryOpenFlag,
23
- RepositoryState,
24
- )
25
- from .index import Index, IndexEntry
26
- from .packbuilder import PackBuilder
27
- from .references import References
28
- from .remotes import RemoteCollection
29
- from .submodules import SubmoduleCollection
30
- from .utils import _IntoStrArray
31
-
32
- _PackDelegate: TypeAlias = Callable[[PackBuilder], None]
33
-
34
- class _SupportsAddfile(Protocol):
35
- def addfile(self, tarinfo: TarInfo, fileobj: IO[bytes] | None = None) -> None: ...
36
-
37
- class BaseRepository(_Repository):
38
- branches: Branches
39
- references: References
40
- remotes: RemoteCollection
41
- submodules: SubmoduleCollection
42
-
43
- def __init__(self, *args: Any, **kwargs: Any) -> None: ... # not meant for direct use
44
- def read(self, oid: _OidArg) -> tuple[int, int, bytes]: ...
45
- def write(self, type: int, data: bytes) -> Oid: ...
46
- def pack(
47
- self, path: StrOrBytesPath | None = None, pack_delegate: _PackDelegate | None = None, n_threads: int | None = None
48
- ) -> int: ...
49
- def __iter__(self) -> Iterator[Oid]: ...
50
- def get(self, key: _OidArg, default: Object | None = None) -> Object | None: ...
51
- def __getitem__(self, key: _OidArg) -> Object: ...
52
- def __contains__(self, key: _OidArg) -> bool: ...
53
- @property
54
- def config(self) -> Config: ...
55
- @property
56
- def config_snapshot(self) -> Config: ...
57
- def create_reference(self, name: str, target: _OidArg, force: bool = False, message: str | None = None) -> Reference: ...
58
- def listall_references(self) -> list[str]: ...
59
- def listall_reference_objects(self) -> list[Reference]: ...
60
- def resolve_refish(self, refish: str) -> tuple[Commit, Reference]: ...
61
- def checkout_head(
62
- self,
63
- *,
64
- callbacks: CheckoutCallbacks | None = None,
65
- strategy: CheckoutStrategy | None = None,
66
- directory: str | None = None,
67
- paths: _IntoStrArray = None,
68
- ) -> None: ...
69
- def checkout_index(
70
- self,
71
- index: Index | None = None,
72
- *,
73
- callbacks: CheckoutCallbacks | None = None,
74
- strategy: CheckoutStrategy | None = None,
75
- directory: str | None = None,
76
- paths: _IntoStrArray = None,
77
- ) -> None: ...
78
- def checkout_tree(
79
- self,
80
- treeish: Object,
81
- *,
82
- callbacks: CheckoutCallbacks | None = None,
83
- strategy: CheckoutStrategy | None = None,
84
- directory: str | None = None,
85
- paths: _IntoStrArray = None,
86
- ) -> None: ...
87
- def checkout(
88
- self,
89
- refname: str | Reference | None = None,
90
- *,
91
- callbacks: CheckoutCallbacks | None = None,
92
- strategy: CheckoutStrategy | None = None,
93
- directory: str | None = None,
94
- paths: _IntoStrArray = None,
95
- ) -> None: ...
96
- def set_head(self, target: _OidArg) -> None: ...
97
- def diff(
98
- self,
99
- a: bytes | str | Oid | Blob | Tree | None = None,
100
- b: bytes | str | Oid | Blob | Tree | None = None,
101
- cached: bool = False,
102
- flags: DiffOption = ...,
103
- context_lines: int = 3,
104
- interhunk_lines: int = 0,
105
- ) -> Diff: ...
106
- def state(self) -> RepositoryState: ...
107
- def state_cleanup(self) -> None: ...
108
- def blame(
109
- self,
110
- path: StrOrBytesPath,
111
- flags: BlameFlag = ...,
112
- min_match_characters: int | None = None,
113
- newest_commit: _OidArg | None = None,
114
- oldest_commit: _OidArg | None = None,
115
- min_line: int | None = None,
116
- max_line: int | None = None,
117
- ) -> Blame: ...
118
- @property
119
- def index(self) -> Index: ...
120
- def merge_file_from_index(self, ancestor: IndexEntry | None, ours: IndexEntry | None, theirs: IndexEntry | None) -> str: ...
121
- def merge_commits(
122
- self,
123
- ours: str | Oid | Commit,
124
- theirs: str | Oid | Commit,
125
- favor: MergeFavor = ...,
126
- flags: MergeFlag = ...,
127
- file_flags: MergeFileFlag = ...,
128
- ) -> Index: ...
129
- def merge_trees(
130
- self,
131
- ancestor: str | Oid | Tree,
132
- ours: str | Oid | Tree,
133
- theirs: str | Oid | Tree,
134
- favor: MergeFavor = ...,
135
- flags: MergeFlag = ...,
136
- file_flags: MergeFileFlag = ...,
137
- ) -> Index: ...
138
- def merge(self, id: Oid | str, favor: MergeFavor = ..., flags: MergeFlag = ..., file_flags: MergeFileFlag = ...) -> None: ...
139
- @property
140
- def raw_message(self) -> bytes: ...
141
- @property
142
- def message(self) -> str: ...
143
- def remove_message(self) -> None: ...
144
- def describe(
145
- self,
146
- committish: str | Reference | Commit | None = None,
147
- max_candidates_tags: int | None = None,
148
- describe_strategy: DescribeStrategy = ...,
149
- pattern: str | None = None,
150
- only_follow_first_parent: bool | None = None,
151
- show_commit_oid_as_fallback: bool | None = None,
152
- abbreviated_size: int | None = None,
153
- always_use_long_format: bool | None = None,
154
- dirty_suffix: str | None = None,
155
- ) -> str: ...
156
- def stash(
157
- self,
158
- stasher: Signature,
159
- message: str | None = None,
160
- keep_index: bool = False,
161
- include_untracked: bool = False,
162
- include_ignored: bool = False,
163
- keep_all: bool = False,
164
- paths: list[str] | None = None,
165
- ) -> Oid: ...
166
- def stash_apply(
167
- self,
168
- index: int = 0,
169
- *,
170
- callbacks: StashApplyCallbacks | None = None,
171
- reinstate_index: bool = False,
172
- strategy: CheckoutStrategy | None = None,
173
- directory: str | None = None,
174
- paths: _IntoStrArray = None,
175
- ) -> None: ...
176
- def stash_drop(self, index: int = 0) -> None: ...
177
- def stash_pop(
178
- self,
179
- index: int = 0,
180
- *,
181
- callbacks: StashApplyCallbacks | None = None,
182
- reinstate_index: bool = False,
183
- strategy: CheckoutStrategy | None = None,
184
- directory: str | None = None,
185
- paths: _IntoStrArray = None,
186
- ) -> None: ...
187
- def write_archive(
188
- self, treeish: _OidArg | Tree, archive: _SupportsAddfile, timestamp: int | None = None, prefix: str = ""
189
- ) -> None: ...
190
- def ahead_behind(self, local: _OidArg, upstream: _OidArg) -> tuple[int, int]: ...
191
- def get_attr(
192
- self, path: StrOrBytesPath, name: str | bytes, flags: AttrCheck = ..., commit: Oid | str | None = None
193
- ) -> bool | None | str: ...
194
- @property
195
- def ident(self) -> tuple[str, str]: ...
196
- def set_ident(self, name: bytes | str | None, email: bytes | str | None) -> None: ...
197
- def revert(self, commit: Commit) -> None: ...
198
- def revert_commit(self, revert_commit: Commit, our_commit: Commit, mainline: int = 0) -> Index: ...
199
- def amend_commit(
200
- self,
201
- commit: Commit | _OidArg,
202
- refname: Reference | str | None,
203
- author: Signature | None = None,
204
- committer: Signature | None = None,
205
- message: bytes | str | None = None,
206
- tree: Tree | _OidArg | None = None,
207
- encoding: str = "UTF-8",
208
- ) -> Oid: ...
209
-
210
- class Repository(BaseRepository):
211
- def __init__(self, path: str | None = None, flags: RepositoryOpenFlag = ...) -> None: ...
@@ -1,37 +0,0 @@
1
- import pygit2.enums
2
-
3
- class SearchPathList:
4
- def __getitem__(self, key: int) -> str: ...
5
- def __setitem__(self, key: int, value: bytes | str) -> None: ...
6
-
7
- class Settings:
8
- def __init__(self) -> None: ...
9
- @property
10
- def search_path(self) -> SearchPathList: ...
11
- @property
12
- def mwindow_size(self) -> int: ...
13
- @mwindow_size.setter
14
- def mwindow_size(self, value: int) -> None: ...
15
- @property
16
- def mwindow_mapped_limit(self) -> int: ...
17
- @mwindow_mapped_limit.setter
18
- def mwindow_mapped_limit(self, value: int) -> None: ...
19
- @property
20
- def cached_memory(self) -> tuple[int, int]: ...
21
- def enable_caching(self, value: bool = True) -> None: ...
22
- def disable_pack_keep_file_checks(self, value: bool = True) -> None: ...
23
- def cache_max_size(self, value: int) -> None: ...
24
- def cache_object_limit(self, object_type: pygit2.enums.ObjectType, value: int) -> None: ...
25
- @property
26
- def ssl_cert_file(self) -> bytes | str: ...
27
- @ssl_cert_file.setter
28
- def ssl_cert_file(self, value: bytes | str) -> None: ...
29
- @ssl_cert_file.deleter
30
- def ssl_cert_file(self) -> None: ...
31
- @property
32
- def ssl_cert_dir(self) -> bytes | str: ...
33
- @ssl_cert_dir.setter
34
- def ssl_cert_dir(self, value: bytes | str) -> None: ...
35
- @ssl_cert_dir.deleter
36
- def ssl_cert_dir(self) -> None: ...
37
- def set_ssl_cert_locations(self, cert_file: bytes | str, cert_dir: bytes | str) -> None: ...
@@ -1,44 +0,0 @@
1
- from collections.abc import Iterable, Iterator
2
-
3
- from ._pygit2 import Oid
4
- from .callbacks import RemoteCallbacks
5
- from .enums import SubmoduleIgnore, SubmoduleStatus
6
- from .repository import BaseRepository, Repository
7
-
8
- class Submodule:
9
- def __del__(self) -> None: ...
10
- def open(self) -> Repository: ...
11
- def init(self, overwrite: bool = False) -> None: ...
12
- def update(self, init: bool = False, callbacks: RemoteCallbacks | None = None, depth: int = 0) -> None: ...
13
- def reload(self, force: bool = False) -> None: ...
14
- @property
15
- def name(self) -> str: ...
16
- @property
17
- def path(self) -> str: ...
18
- @property
19
- def url(self) -> str | None: ...
20
- @property
21
- def branch(self) -> str: ...
22
- @property
23
- def head_id(self) -> Oid | None: ...
24
-
25
- class SubmoduleCollection:
26
- def __init__(self, repository: BaseRepository) -> None: ...
27
- def __getitem__(self, name: str) -> Submodule: ...
28
- def __contains__(self, name: str) -> bool: ...
29
- def __iter__(self) -> Iterator[Submodule]: ...
30
- def get(self, name: str) -> Submodule | None: ...
31
- def add(
32
- self, url: str, path: str, link: bool = True, callbacks: RemoteCallbacks | None = None, depth: int = 0
33
- ) -> Submodule: ...
34
- def init(self, submodules: Iterable[str] | None = None, overwrite: bool = False) -> None: ...
35
- def update(
36
- self,
37
- submodules: Iterable[str] | None = None,
38
- init: bool = False,
39
- callbacks: RemoteCallbacks | None = None,
40
- depth: int = 0,
41
- ) -> None: ...
42
- def status(self, name: str, ignore: SubmoduleIgnore = ...) -> SubmoduleStatus: ...
43
- def cache_all(self) -> None: ...
44
- def cache_clear(self) -> None: ...
@@ -1,49 +0,0 @@
1
- import contextlib
2
- import types
3
- from _typeshed import StrOrBytesPath, StrPath
4
- from collections.abc import Generator
5
- from typing import Generic, TypeVar
6
- from typing_extensions import TypeAlias
7
-
8
- from _cffi_backend import _CDataBase
9
-
10
- def maybe_string(ptr: _CDataBase) -> str | None: ...
11
- def to_bytes(s: _CDataBase | StrOrBytesPath | None, encoding: str = "utf-8", errors: str = "strict") -> _CDataBase | bytes: ...
12
- def to_str(s: StrOrBytesPath) -> str: ...
13
- def ptr_to_bytes(ptr_cdata: _CDataBase) -> bytes: ...
14
- @contextlib.contextmanager
15
- def new_git_strarray() -> Generator[_GitStrArray]: ...
16
- def strarray_to_strings(arr: _GitStrArray) -> list[str]: ...
17
-
18
- # Actual type: _cffi_backend.__CDataOwn <cdata 'struct git_strarray *'>
19
- # This is not a real subclassing. Just ensuring type-checkers sees this type as compatible with _CDataBase
20
- # pyright has no error code for subclassing final
21
- class _GitStrArray(_CDataBase): # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
22
- count: int
23
- strings: _CDataBase # <cdata 'char * *'>
24
-
25
- _IntoStrArray: TypeAlias = list[StrPath] | tuple[StrPath] | None
26
-
27
- class StrArray:
28
- def __init__(self, l: _IntoStrArray) -> None: ...
29
- def __enter__(self) -> _CDataBase: ...
30
- def __exit__(
31
- self, type: type[BaseException] | None, value: BaseException | None, traceback: types.TracebackType | None
32
- ) -> None: ...
33
- @property
34
- def ptr(self) -> _CDataBase | _GitStrArray: ...
35
- def assign_to(self, git_strarray: _GitStrArray) -> None: ...
36
-
37
- _T = TypeVar("_T")
38
-
39
- class _GenericContainer(Generic[_T]):
40
- def __len__(self) -> int: ...
41
- def __getitem__(self, idx: int) -> _T: ...
42
-
43
- class GenericIterator(Generic[_T]):
44
- container: _GenericContainer[_T]
45
- length: int
46
- idx: int
47
- def __init__(self, container: _GenericContainer[_T]) -> None: ...
48
- def next(self) -> _T: ...
49
- def __next__(self) -> _T: ...
@@ -1,9 +0,0 @@
1
- version = "1.10.*"
2
- upstream_repository = "https://github.com/grantjenks/py-tree-sitter-languages"
3
- requires = ["tree-sitter>=0.20.3"]
4
-
5
- [tool.stubtest]
6
- # This package is unmaintained and doesn't support Python 3.13.
7
- # See https://github.com/grantjenks/py-tree-sitter-languages/issues/75 and
8
- # https://github.com/grantjenks/py-tree-sitter-languages/blob/main/README.rst#status
9
- skip = true
@@ -1,7 +0,0 @@
1
- from .core import get_language as get_language, get_parser as get_parser
2
-
3
- __version__: str
4
- __title__: str
5
- __author__: str
6
- __license__: str
7
- __copyright__: str
@@ -1,4 +0,0 @@
1
- from tree_sitter import Language, Parser
2
-
3
- def get_language(language: str) -> Language: ...
4
- def get_parser(language: str) -> Parser: ...