basedpyright 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) 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/_curses.pyi +549 -542
  7. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +14 -13
  8. package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +58 -59
  9. package/dist/typeshed-fallback/stdlib/curses/has_key.pyi +1 -4
  10. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +19 -22
  11. package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +8 -10
  12. package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +11 -4
  13. package/dist/typeshed-fallback/stdlib/io.pyi +5 -5
  14. package/dist/typeshed-fallback/stdlib/multiprocessing/resource_tracker.pyi +3 -3
  15. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +25 -6
  16. package/dist/typeshed-fallback/stdlib/signal.pyi +2 -6
  17. package/dist/typeshed-fallback/stdlib/ssl.pyi +6 -0
  18. package/dist/typeshed-fallback/stdlib/tkinter/commondialog.pyi +2 -2
  19. package/dist/typeshed-fallback/stdlib/tkinter/dialog.pyi +1 -1
  20. package/dist/typeshed-fallback/stdlib/tkinter/scrolledtext.pyi +1 -2
  21. package/dist/typeshed-fallback/stdlib/traceback.pyi +4 -4
  22. package/dist/typeshed-fallback/stdlib/typing.pyi +5 -5
  23. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +4 -4
  24. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +2 -2
  25. package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +1 -1
  26. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +5 -2
  27. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -2
  28. package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/namespace.pyi +2 -2
  29. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +3 -3
  30. package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +1 -1
  31. package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +11 -4
  32. package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +4 -4
  33. package/dist/typeshed-fallback/stubs/PyAutoGUI/METADATA.toml +1 -1
  34. package/dist/typeshed-fallback/stubs/PyScreeze/METADATA.toml +1 -1
  35. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +1 -1
  36. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/temptypes.pyi +4 -4
  37. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/error/Errors.pyi +1 -1
  38. package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +1 -2
  39. package/dist/typeshed-fallback/stubs/boltons/boltons/debugutils.pyi +2 -3
  40. package/dist/typeshed-fallback/stubs/boltons/boltons/queueutils.pyi +2 -3
  41. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -5
  42. package/dist/typeshed-fallback/stubs/braintree/braintree/account_updater_daily_report.pyi +4 -5
  43. package/dist/typeshed-fallback/stubs/braintree/braintree/ach_mandate.pyi +1 -2
  44. package/dist/typeshed-fallback/stubs/braintree/braintree/add_on.pyi +1 -2
  45. package/dist/typeshed-fallback/stubs/braintree/braintree/add_on_gateway.pyi +3 -6
  46. package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +9 -10
  47. package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +2 -9
  48. package/dist/typeshed-fallback/stubs/braintree/braintree/amex_express_checkout_card.pyi +3 -4
  49. package/dist/typeshed-fallback/stubs/braintree/braintree/android_pay_card.pyi +11 -4
  50. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_card.pyi +11 -7
  51. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_gateway.pyi +3 -8
  52. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_options.pyi +1 -1
  53. package/dist/typeshed-fallback/stubs/braintree/braintree/attribute_getter.pyi +5 -2
  54. package/dist/typeshed-fallback/stubs/braintree/braintree/authorization_adjustment.pyi +3 -3
  55. package/dist/typeshed-fallback/stubs/braintree/braintree/bin_data.pyi +1 -1
  56. package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +59 -56
  57. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +0 -5
  58. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +2 -7
  59. package/dist/typeshed-fallback/stubs/braintree/braintree/configuration.pyi +9 -15
  60. package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_paypal_status_changed.pyi +1 -1
  61. package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_status_transitioned.pyi +1 -1
  62. package/dist/typeshed-fallback/stubs/braintree/braintree/credentials_parser.pyi +5 -9
  63. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +50 -41
  64. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_gateway.pyi +2 -11
  65. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification.pyi +18 -18
  66. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_gateway.pyi +3 -11
  67. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_search.pyi +13 -18
  68. package/dist/typeshed-fallback/stubs/braintree/braintree/customer.pyi +26 -34
  69. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_gateway.pyi +2 -11
  70. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_search.pyi +25 -27
  71. package/dist/typeshed-fallback/stubs/braintree/braintree/descriptor.pyi +1 -1
  72. package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement.pyi +8 -8
  73. package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement_detail.pyi +4 -4
  74. package/dist/typeshed-fallback/stubs/braintree/braintree/discount.pyi +1 -2
  75. package/dist/typeshed-fallback/stubs/braintree/braintree/discount_gateway.pyi +3 -6
  76. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute.pyi +51 -41
  77. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/evidence.pyi +1 -1
  78. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/paypal_message.pyi +1 -1
  79. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/status_history.pyi +1 -1
  80. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_gateway.pyi +4 -13
  81. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_search.pyi +21 -21
  82. package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload.pyi +3 -4
  83. package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload_gateway.pyi +2 -8
  84. package/dist/typeshed-fallback/stubs/braintree/braintree/enriched_customer_data.pyi +7 -0
  85. package/dist/typeshed-fallback/stubs/braintree/braintree/environment.pyi +0 -2
  86. package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +690 -675
  87. package/dist/typeshed-fallback/stubs/braintree/braintree/error_result.pyi +13 -10
  88. package/dist/typeshed-fallback/stubs/braintree/braintree/errors.pyi +3 -5
  89. package/dist/typeshed-fallback/stubs/braintree/braintree/europe_bank_account.pyi +5 -4
  90. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authentication_error.pyi +1 -1
  91. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authorization_error.pyi +1 -1
  92. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/configuration_error.pyi +1 -1
  93. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/gateway_timeout_error.pyi +1 -1
  94. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/connection_error.pyi +1 -1
  95. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/invalid_response_error.pyi +1 -1
  96. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/timeout_error.pyi +1 -1
  97. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_challenge_error.pyi +1 -1
  98. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_signature_error.pyi +1 -1
  99. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/not_found_error.pyi +1 -1
  100. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/request_timeout_error.pyi +1 -1
  101. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/server_error.pyi +1 -1
  102. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/service_unavailable_error.pyi +1 -1
  103. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/test_operation_performed_in_production_error.pyi +3 -0
  104. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/too_many_requests_error.pyi +1 -1
  105. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/unexpected_error.pyi +1 -1
  106. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/upgrade_required_error.pyi +1 -1
  107. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote.pyi +4 -0
  108. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_gateway.pyi +9 -0
  109. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_input.pyi +9 -0
  110. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_payload.pyi +6 -0
  111. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_request.pyi +7 -0
  112. package/dist/typeshed-fallback/stubs/braintree/braintree/facilitated_details.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/braintree/braintree/facilitator_details.pyi +1 -1
  114. package/dist/typeshed-fallback/stubs/braintree/braintree/granted_payment_instrument_update.pyi +3 -3
  115. package/dist/typeshed-fallback/stubs/braintree/braintree/iban_bank_account.pyi +1 -1
  116. package/dist/typeshed-fallback/stubs/braintree/braintree/ids_search.pyi +2 -4
  117. package/dist/typeshed-fallback/stubs/braintree/braintree/liability_shift.pyi +3 -0
  118. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment.pyi +1 -1
  119. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_completed.pyi +3 -5
  120. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_expired.pyi +4 -0
  121. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_funded.pyi +7 -0
  122. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_reversed.pyi +1 -1
  123. package/dist/typeshed-fallback/stubs/braintree/braintree/masterpass_card.pyi +5 -6
  124. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant.pyi +3 -5
  125. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/address_details.pyi +3 -3
  126. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/business_details.pyi +5 -5
  127. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/funding_details.pyi +3 -3
  128. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/individual_details.pyi +5 -5
  129. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/merchant_account.pyi +14 -19
  130. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account_gateway.pyi +2 -12
  131. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_gateway.pyi +3 -11
  132. package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_card.pyi +8 -0
  133. package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_token.pyi +8 -0
  134. package/dist/typeshed-fallback/stubs/braintree/braintree/modification.pyi +3 -3
  135. package/dist/typeshed-fallback/stubs/braintree/braintree/montary_amount.pyi +7 -0
  136. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_access_revocation.pyi +1 -1
  137. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_credentials.pyi +1 -1
  138. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_gateway.pyi +3 -8
  139. package/dist/typeshed-fallback/stubs/braintree/braintree/package_details.pyi +7 -0
  140. package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_collection.pyi +2 -2
  141. package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_result.pyi +4 -4
  142. package/dist/typeshed-fallback/stubs/braintree/braintree/partner_merchant.pyi +7 -8
  143. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_instrument_type.pyi +18 -13
  144. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +1 -3
  145. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_customer_data_updated_metadata.pyi +8 -0
  146. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +3 -26
  147. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce.pyi +7 -8
  148. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce_gateway.pyi +3 -10
  149. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_parser.pyi +0 -14
  150. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account.pyi +3 -4
  151. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account_gateway.pyi +2 -9
  152. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_here.pyi +1 -1
  153. package/dist/typeshed-fallback/stubs/braintree/braintree/plan.pyi +16 -9
  154. package/dist/typeshed-fallback/stubs/braintree/braintree/plan_gateway.pyi +6 -10
  155. package/dist/typeshed-fallback/stubs/braintree/braintree/processor_response_types.pyi +5 -3
  156. package/dist/typeshed-fallback/stubs/braintree/braintree/resource.pyi +3 -3
  157. package/dist/typeshed-fallback/stubs/braintree/braintree/resource_collection.pyi +2 -4
  158. package/dist/typeshed-fallback/stubs/braintree/braintree/revoked_payment_method_metadata.pyi +5 -6
  159. package/dist/typeshed-fallback/stubs/braintree/braintree/risk_data.pyi +2 -4
  160. package/dist/typeshed-fallback/stubs/braintree/braintree/samsung_pay_card.pyi +5 -6
  161. package/dist/typeshed-fallback/stubs/braintree/braintree/search.pyi +9 -9
  162. package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account.pyi +10 -0
  163. package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account_gateway.pyi +8 -0
  164. package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary.pyi +1 -7
  165. package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary_gateway.pyi +2 -8
  166. package/dist/typeshed-fallback/stubs/braintree/braintree/signature_service.pyi +3 -5
  167. package/dist/typeshed-fallback/stubs/braintree/braintree/status_event.pyi +3 -3
  168. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +27 -32
  169. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +1 -1
  170. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +2 -11
  171. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_search.pyi +13 -17
  172. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_status_event.pyi +4 -4
  173. package/dist/typeshed-fallback/stubs/braintree/braintree/successful_result.pyi +1 -1
  174. package/dist/typeshed-fallback/stubs/braintree/braintree/test/__init__.pyi +0 -0
  175. package/dist/typeshed-fallback/stubs/braintree/braintree/test/authentication_ids.pyi +18 -0
  176. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_defaults.pyi +5 -0
  177. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +40 -0
  178. package/dist/typeshed-fallback/stubs/braintree/braintree/test/merchant_account.pyi +7 -0
  179. package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +83 -0
  180. package/dist/typeshed-fallback/stubs/braintree/braintree/test/venmo_sdk.pyi +9 -0
  181. package/dist/typeshed-fallback/stubs/braintree/braintree/testing_gateway.pyi +3 -7
  182. package/dist/typeshed-fallback/stubs/braintree/braintree/three_d_secure_info.pyi +1 -1
  183. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +125 -115
  184. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_amounts.pyi +6 -4
  185. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_details.pyi +3 -3
  186. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +3 -11
  187. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item.pyi +5 -5
  188. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item_gateway.pyi +3 -10
  189. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_review.pyi +4 -0
  190. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_search.pyi +70 -71
  191. package/dist/typeshed-fallback/stubs/braintree/braintree/unknown_payment_method.pyi +1 -1
  192. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account.pyi +5 -8
  193. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_gateway.pyi +3 -6
  194. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification.pyi +17 -14
  195. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_gateway.pyi +3 -10
  196. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_search.pyi +13 -18
  197. package/dist/typeshed-fallback/stubs/braintree/braintree/util/constants.pyi +1 -0
  198. package/dist/typeshed-fallback/stubs/braintree/braintree/util/generator.pyi +2 -2
  199. package/dist/typeshed-fallback/stubs/braintree/braintree/util/graphql_client.pyi +2 -11
  200. package/dist/typeshed-fallback/stubs/braintree/braintree/util/http.pyi +6 -27
  201. package/dist/typeshed-fallback/stubs/braintree/braintree/util/parser.pyi +2 -4
  202. package/dist/typeshed-fallback/stubs/braintree/braintree/util/xml_util.pyi +0 -3
  203. package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error.pyi +1 -1
  204. package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error_collection.pyi +1 -4
  205. package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_account.pyi +3 -4
  206. package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_profile_data.pyi +4 -0
  207. package/dist/typeshed-fallback/stubs/braintree/braintree/version.pyi +3 -1
  208. package/dist/typeshed-fallback/stubs/braintree/braintree/visa_checkout_card.pyi +7 -8
  209. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification.pyi +84 -74
  210. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification_gateway.pyi +3 -9
  211. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing.pyi +0 -2
  212. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing_gateway.pyi +2 -6
  213. package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +1 -1
  214. package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +4 -8
  215. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +1 -1
  216. package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -1
  217. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -1
  218. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +9 -2
  219. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +7 -32
  220. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +37 -6
  222. package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
  223. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +1 -1
  224. package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +2 -3
  225. package/dist/typeshed-fallback/stubs/gdb/gdb/FrameDecorator.pyi +19 -0
  226. package/dist/typeshed-fallback/stubs/gdb/gdb/FrameIterator.pyi +9 -0
  227. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +152 -56
  228. package/dist/typeshed-fallback/stubs/gdb/gdb/events.pyi +22 -89
  229. package/dist/typeshed-fallback/stubs/gdb/gdb/types.pyi +4 -0
  230. package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +9 -1
  231. package/dist/typeshed-fallback/stubs/gdb/gdb/xmethod.pyi +20 -10
  232. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +3 -3
  233. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -0
  234. package/dist/typeshed-fallback/stubs/hvac/hvac/adapters.pyi +25 -20
  235. package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +4 -3
  236. package/dist/typeshed-fallback/stubs/hvac/hvac/v1/__init__.pyi +3 -3
  237. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi +2 -2
  238. package/dist/typeshed-fallback/stubs/netaddr/netaddr/core.pyi +2 -2
  239. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +2 -2
  240. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +2 -2
  241. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +1 -2
  242. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +1 -1
  243. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +3 -3
  244. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +8 -4
  245. package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +1 -1
  246. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +3 -3
  247. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +8 -4
  248. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +9 -2
  249. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/chartspace.pyi +1 -0
  250. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/reference.pyi +6 -4
  251. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi +3 -2
  252. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/base.pyi +1 -1
  253. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/excel.pyi +1 -1
  254. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/workbook.pyi +1 -1
  255. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/reader/workbook.pyi +3 -4
  256. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +7 -3
  257. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/stylesheet.pyi +1 -1
  258. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/_writer.pyi +5 -3
  259. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +27 -16
  260. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +8 -3
  261. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +3 -2
  262. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_write_only.pyi +5 -2
  263. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +5 -2
  264. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/dimensions.pyi +3 -0
  265. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +4 -2
  266. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/print_settings.pyi +3 -3
  267. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/writer/excel.pyi +2 -1
  268. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/xml/_functions_overloads.pyi +1 -1
  269. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +1 -1
  270. package/dist/typeshed-fallback/stubs/passlib/passlib/totp.pyi +85 -67
  271. package/dist/typeshed-fallback/stubs/polib/polib.pyi +2 -2
  272. package/dist/typeshed-fallback/stubs/pyasn1/METADATA.toml +1 -1
  273. package/dist/typeshed-fallback/stubs/pyasn1/pyasn1/codec/ber/encoder.pyi +1 -2
  274. package/dist/typeshed-fallback/stubs/python-xlib/METADATA.toml +0 -1
  275. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/_typing.pyi +0 -1
  276. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/composite.pyi +2 -1
  277. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/dpms.pyi +1 -1
  278. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/ge.pyi +1 -1
  279. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/nvcontrol.pyi +1 -1
  280. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/record.pyi +1 -1
  281. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/res.pyi +1 -1
  282. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/security.pyi +1 -1
  283. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xfixes.pyi +1 -1
  284. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinerama.pyi +1 -1
  285. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinput.pyi +1 -2
  286. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xtest.pyi +1 -1
  287. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/rq.pyi +2 -2
  288. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/unix_connect.pyi +1 -2
  289. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/vms_connect.pyi +1 -2
  290. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/xobject/drawable.pyi +12 -3
  291. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +39 -36
  292. package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +16 -8
  293. package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32ui.pyi +11 -8
  294. package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32uiole.pyi +1 -1
  295. package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +6 -5
  296. package/dist/typeshed-fallback/stubs/pywin32/win32/win32api.pyi +7 -7
  297. package/dist/typeshed-fallback/stubs/pywin32/win32/win32file.pyi +1 -1
  298. package/dist/typeshed-fallback/stubs/pywin32/win32/win32gui.pyi +9 -7
  299. package/dist/typeshed-fallback/stubs/pywin32/win32/win32ras.pyi +1 -1
  300. package/dist/typeshed-fallback/stubs/pywin32/win32/win32service.pyi +3 -1
  301. package/dist/typeshed-fallback/stubs/pywin32/win32com/server/util.pyi +3 -2
  302. package/dist/typeshed-fallback/stubs/pywin32/win32com/universal.pyi +9 -1
  303. package/dist/typeshed-fallback/stubs/pywin32/win32comext/mapi/mapi.pyi +1 -1
  304. package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +3 -1
  305. package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +1 -0
  306. package/dist/typeshed-fallback/stubs/requests/requests/cookies.pyi +24 -22
  307. package/package.json +1 -1
@@ -1,16 +1,10 @@
1
- from typing import Any
2
-
3
- from braintree.exceptions.invalid_challenge_error import InvalidChallengeError as InvalidChallengeError
4
- from braintree.exceptions.invalid_signature_error import InvalidSignatureError as InvalidSignatureError
5
- from braintree.util.crypto import Crypto as Crypto
6
- from braintree.util.xml_util import XmlUtil as XmlUtil
7
- from braintree.webhook_notification import WebhookNotification as WebhookNotification
1
+ from _typeshed import Incomplete
8
2
 
9
3
  text_type = str
10
4
 
11
5
  class WebhookNotificationGateway:
12
- gateway: Any
13
- config: Any
6
+ gateway: Incomplete
7
+ config: Incomplete
14
8
  def __init__(self, gateway) -> None: ...
15
9
  def parse(self, signature, payload): ...
16
10
  def verify(self, challenge): ...
@@ -1,7 +1,5 @@
1
1
  from _typeshed import Incomplete
2
2
 
3
- from braintree.configuration import Configuration as Configuration
4
-
5
3
  class WebhookTesting:
6
4
  @staticmethod
7
5
  def sample_notification(kind, id, source_merchant_id: Incomplete | None = None): ...
@@ -1,11 +1,7 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.util.crypto import Crypto as Crypto
5
- from braintree.webhook_notification import WebhookNotification as WebhookNotification
6
2
 
7
3
  class WebhookTestingGateway:
8
- gateway: Any
9
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
10
6
  def __init__(self, gateway) -> None: ...
11
7
  def sample_notification(self, kind, id, source_merchant_id: Incomplete | None = None): ...
@@ -66,7 +66,7 @@ class DAVClient:
66
66
  name: str | None = ...,
67
67
  id: str | None = ...,
68
68
  props: Mapping[Incomplete, Incomplete] = ...,
69
- **extra: Incomplete,
69
+ **extra,
70
70
  ) -> Calendar: ...
71
71
  def check_dav_support(self) -> str | None: ...
72
72
  def check_cdav_support(self) -> bool: ...
@@ -33,7 +33,7 @@ class DAVObject:
33
33
  name: str | None = None,
34
34
  id: str | None = None,
35
35
  props: Mapping[Incomplete, Incomplete] | None = None,
36
- **extra: Incomplete,
36
+ **extra,
37
37
  ) -> None: ...
38
38
  @property
39
39
  def canonical_url(self) -> str: ...
@@ -70,14 +70,10 @@ class Principal(DAVObject):
70
70
  class Calendar(DAVObject):
71
71
  def get_supported_components(self) -> list[Incomplete]: ...
72
72
  def save_with_invites(self, ical: str, attendees, **attendeeoptions) -> None: ...
73
- def save_event(
74
- self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data: Incomplete
75
- ) -> Event: ...
76
- def save_todo(
77
- self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data: Incomplete
78
- ) -> Todo: ...
73
+ def save_event(self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data) -> Event: ...
74
+ def save_todo(self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data) -> Todo: ...
79
75
  def save_journal(
80
- self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data: Incomplete
76
+ self, ical: str | None = None, no_overwrite: bool = False, no_create: bool = False, **ical_data
81
77
  ) -> Journal: ...
82
78
  add_event = save_event
83
79
  add_todo = save_todo
@@ -83,7 +83,7 @@ class _CDataBase:
83
83
  def __ne__(self, other): ...
84
84
  def __radd__(self, other): ...
85
85
  def __rsub__(self, other): ...
86
- def __setitem__(self, index: SupportsIndex | slice, object: Incomplete) -> None: ...
86
+ def __setitem__(self, index: SupportsIndex | slice, object) -> None: ...
87
87
  def __sub__(self, other): ...
88
88
 
89
89
  @final
@@ -23,4 +23,4 @@ def get_logger() -> Any: ...
23
23
  def setup_logging() -> None: ...
24
24
 
25
25
  # TODO: this needs `types-pytz` and a type-alias
26
- def get_timezone_from_tz_string(tz_string: str) -> Incomplete: ...
26
+ def get_timezone_from_tz_string(tz_string: str): ...
@@ -36,6 +36,6 @@ def positive_int(argument: str) -> int: ...
36
36
  def positive_int_list(argument: str) -> list[int]: ...
37
37
  def encoding(argument: str) -> str: ...
38
38
  def choice(argument: str, values: Sequence[str]) -> str: ...
39
- def format_values(values: Sequence[str]) -> str: ...
39
+ def format_values(values: Sequence[object]) -> str: ...
40
40
  def value_or(values: Container[str], other: Callable[[str], str]) -> Callable[[str], str]: ...
41
41
  def parser_name(argument: str | None) -> type[Parser] | None: ...
@@ -1,3 +1,10 @@
1
- from _typeshed import Incomplete
1
+ from collections.abc import Sequence
2
2
 
3
- def __getattr__(name: str) -> Incomplete: ...
3
+ from docutils.parsers.rst import Directive
4
+
5
+ class Contents(Directive):
6
+ backlinks_values: Sequence[str]
7
+
8
+ class Sectnum(Directive): ...
9
+ class Header(Directive): ...
10
+ class Footer(Directive): ...
@@ -1,5 +1,5 @@
1
1
  import optparse
2
- from _typeshed import Incomplete, StrPath, SupportsWrite, Unused
2
+ from _typeshed import StrPath, SupportsWrite, Unused
3
3
  from collections.abc import Callable, Iterable, Mapping
4
4
  from re import Pattern
5
5
  from typing import Any, Literal, TypeVar
@@ -69,47 +69,22 @@ class Reporter:
69
69
  *children: nodes.Node,
70
70
  base_node: nodes.Node = ...,
71
71
  source: str = ...,
72
- **kwargs: Incomplete,
72
+ **kwargs,
73
73
  ) -> nodes.system_message: ...
74
74
  def debug(
75
- self,
76
- message: str | Exception,
77
- *children: nodes.Node,
78
- base_node: nodes.Node = ...,
79
- source: str = ...,
80
- **kwargs: Incomplete,
75
+ self, message: str | Exception, *children: nodes.Node, base_node: nodes.Node = ..., source: str = ..., **kwargs
81
76
  ) -> nodes.system_message: ...
82
77
  def info(
83
- self,
84
- message: str | Exception,
85
- *children: nodes.Node,
86
- base_node: nodes.Node = ...,
87
- source: str = ...,
88
- **kwargs: Incomplete,
78
+ self, message: str | Exception, *children: nodes.Node, base_node: nodes.Node = ..., source: str = ..., **kwargs
89
79
  ) -> nodes.system_message: ...
90
80
  def warning(
91
- self,
92
- message: str | Exception,
93
- *children: nodes.Node,
94
- base_node: nodes.Node = ...,
95
- source: str = ...,
96
- **kwargs: Incomplete,
81
+ self, message: str | Exception, *children: nodes.Node, base_node: nodes.Node = ..., source: str = ..., **kwargs
97
82
  ) -> nodes.system_message: ...
98
83
  def error(
99
- self,
100
- message: str | Exception,
101
- *children: nodes.Node,
102
- base_node: nodes.Node = ...,
103
- source: str = ...,
104
- **kwargs: Incomplete,
84
+ self, message: str | Exception, *children: nodes.Node, base_node: nodes.Node = ..., source: str = ..., **kwargs
105
85
  ) -> nodes.system_message: ...
106
86
  def severe(
107
- self,
108
- message: str | Exception,
109
- *children: nodes.Node,
110
- base_node: nodes.Node = ...,
111
- source: str = ...,
112
- **kwargs: Incomplete,
87
+ self, message: str | Exception, *children: nodes.Node, base_node: nodes.Node = ..., source: str = ..., **kwargs
113
88
  ) -> nodes.system_message: ...
114
89
 
115
90
  class SystemMessage(ApplicationError):
@@ -1,4 +1,4 @@
1
- version = "2.2.*"
1
+ version = "2.4.*"
2
2
  upstream_repository = "https://github.com/gforcada/flake8-builtins"
3
3
  partial_stub = true
4
4
 
@@ -1,12 +1,43 @@
1
1
  import ast
2
- from _typeshed import Incomplete
3
- from collections.abc import Generator
4
- from typing import Any, ClassVar
2
+ from argparse import Namespace
3
+ from binascii import Incomplete
4
+ from collections.abc import Iterator
5
+ from typing import ClassVar
6
+ from typing_extensions import TypeAlias
7
+
8
+ _Error: TypeAlias = tuple[int, int, str, type[BuiltinsChecker]]
9
+ _OptionManager: TypeAlias = Incomplete # flake8.options.manager.OptionManager
5
10
 
6
11
  class BuiltinsChecker:
7
12
  name: ClassVar[str]
8
13
  version: ClassVar[str]
9
- def __init__(self, tree: ast.AST, filename: str) -> None: ...
10
- def run(self) -> Generator[tuple[int, int, str, type[Any]], None, None]: ...
14
+ assign_msg: ClassVar[str]
15
+ argument_msg: ClassVar[str]
16
+ class_attribute_msg: ClassVar[str]
17
+ import_msg: ClassVar[str]
18
+ module_name_msg: ClassVar[str]
19
+ lambda_argument_msg: ClassVar[str]
11
20
 
12
- def __getattr__(name: str) -> Incomplete: ... # incomplete (other attributes are normally not accessed)
21
+ names: ClassVar[list[str]]
22
+ ignore_list: ClassVar[set[str]]
23
+ ignored_module_names: ClassVar[set[str]]
24
+
25
+ def __init__(self, tree: ast.AST, filename: str) -> None: ...
26
+ @classmethod
27
+ def add_options(cls, option_manager: _OptionManager) -> None: ...
28
+ @classmethod
29
+ def parse_options(cls, options: Namespace) -> None: ...
30
+ def run(self) -> Iterator[_Error]: ...
31
+ def check_assignment(self, statement: ast.Assign | ast.AnnAssign | ast.NamedExpr) -> Iterator[_Error]: ...
32
+ def check_function_definition(self, statement: ast.FunctionDef | ast.AsyncFunctionDef) -> Iterator[_Error]: ...
33
+ def check_lambda_definition(self, statement: ast.Lambda) -> Iterator[_Error]: ...
34
+ def check_for_loop(self, statement: ast.For | ast.AsyncFor) -> Iterator[_Error]: ...
35
+ def check_with(self, statement: ast.With | ast.AsyncWith) -> Iterator[_Error]: ...
36
+ def check_exception(self, statement: ast.excepthandler) -> Iterator[_Error]: ...
37
+ def check_comprehension(
38
+ self, statement: ast.ListComp | ast.SetComp | ast.DictComp | ast.GeneratorExp
39
+ ) -> Iterator[_Error]: ...
40
+ def check_import(self, statement: ast.Import | ast.ImportFrom) -> Iterator[_Error]: ...
41
+ def check_class(self, statement: ast.ClassDef) -> Iterator[_Error]: ...
42
+ def error(self, statement: ast.AST | None = None, variable: str | None = None, message: str | None = None) -> _Error: ...
43
+ def check_module_name(self, filename: str) -> Iterator[_Error]: ...
@@ -1,6 +1,6 @@
1
1
  version = "2.7.8"
2
2
  upstream_repository = "https://github.com/PyFPDF/fpdf2"
3
- requires = ["types-Pillow>=9.2.0"]
3
+ requires = ["Pillow>=10.3.0"]
4
4
 
5
5
  [tool.stubtest]
6
6
  stubtest_requirements = ["cryptography"]
@@ -84,4 +84,4 @@ class HTML2FPDF(HTMLParser):
84
84
  def error(self, message: str) -> None: ...
85
85
 
86
86
  class HTMLMixin:
87
- def __init__(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
87
+ def __init__(self, *args, **kwargs) -> None: ...
@@ -11,6 +11,5 @@ extra_description = """\
11
11
  """
12
12
 
13
13
  [tool.stubtest]
14
- # Since the "gdb" Python package is available only inside GDB, it is not
15
- # possible to install it through pip, so stub tests cannot install it.
16
- skip = true
14
+ platforms = ["linux"]
15
+ apt_dependencies = ["gdb"]
@@ -0,0 +1,19 @@
1
+ from collections.abc import Iterator
2
+ from typing import Protocol
3
+
4
+ import gdb
5
+
6
+ class SymValueWrapper(Protocol):
7
+ def symbol(self) -> gdb.Symbol | str: ...
8
+ def value(self) -> gdb._ValueOrNative | None: ...
9
+
10
+ class FrameDecorator:
11
+ def __init__(self, base: gdb.Frame | FrameDecorator) -> None: ...
12
+ def elided(self) -> Iterator[gdb.Frame] | None: ...
13
+ def function(self) -> str | None: ...
14
+ def address(self) -> int | None: ...
15
+ def filename(self) -> str | None: ...
16
+ def line(self) -> int | None: ...
17
+ def frame_args(self) -> Iterator[SymValueWrapper] | None: ...
18
+ def frame_locals(self) -> Iterator[SymValueWrapper] | None: ...
19
+ def inferior_frame(self) -> gdb.Frame: ...
@@ -0,0 +1,9 @@
1
+ import gdb
2
+
3
+ class FrameIterator:
4
+ frame: gdb.Frame
5
+
6
+ def __init__(self, frame_obj: gdb.Frame) -> None: ...
7
+ def __iter__(self) -> FrameIterator: ...
8
+ def next(self) -> gdb.Frame: ...
9
+ def __next__(self) -> gdb.Frame: ...