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.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_hashlib.pyi +88 -44
- package/dist/typeshed-fallback/stdlib/_heapq.pyi +9 -1
- package/dist/typeshed-fallback/stdlib/_imp.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +77 -50
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/_thread.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/_tkinter.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stdlib/_zstd.pyi +96 -0
- package/dist/typeshed-fallback/stdlib/argparse.pyi +1 -7
- package/dist/typeshed-fallback/stdlib/ast.pyi +24 -12
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +10 -6
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +30 -8
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +2 -4
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +19 -7
- package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +18 -13
- package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +29 -9
- package/dist/typeshed-fallback/stdlib/builtins.pyi +65 -28
- package/dist/typeshed-fallback/stdlib/bz2.pyi +6 -5
- package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +87 -0
- package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -0
- package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +1 -3
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +14 -6
- package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +50 -5
- package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +2 -5
- package/dist/typeshed-fallback/stdlib/enum.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/errno.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/faulthandler.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/fractions.pyi +28 -10
- package/dist/typeshed-fallback/stdlib/genericpath.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/gzip.pyi +11 -2
- package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +59 -53
- package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +23 -0
- package/dist/typeshed-fallback/stdlib/importlib/resources/__init__.pyi +8 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +66 -9
- package/dist/typeshed-fallback/stdlib/importlib/util.pyi +20 -4
- package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/lzma.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/multiprocessing/forkserver.pyi +21 -7
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +62 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/popen_fork.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +15 -5
- package/dist/typeshed-fallback/stdlib/ntpath.pyi +7 -10
- package/dist/typeshed-fallback/stdlib/posixpath.pyi +7 -13
- package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/select.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -2
- package/dist/typeshed-fallback/stdlib/socket.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/socketserver.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/sre_constants.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/string/__init__.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +16 -1
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/turtle.pyi +38 -1
- package/dist/typeshed-fallback/stdlib/types.pyi +12 -1
- package/dist/typeshed-fallback/stdlib/typing.pyi +7 -3
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +28 -1
- package/dist/typeshed-fallback/stdlib/winsound.pyi +10 -0
- package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +18 -1
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +21 -4
- package/dist/typeshed-fallback/stdlib/zipimport.pyi +12 -2
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +8 -2
- package/dist/typeshed-fallback/stubs/Flask-Cors/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +3 -3
- package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +6 -5
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_session_gateway.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/create_customer_session_input.pyi +11 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_recommendations_input.pyi +13 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_session_input.pyi +14 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/monetary_amount_input.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_payee_input.pyi +14 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_purchase_unit_input.pyi +16 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/phone_input.pyi +9 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/update_customer_session_input.pyi +13 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/customer_recommendations_payload.pyi +9 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_options.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_recommendation.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/unions/customer_recommendations.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/{montary_amount.pyi → monetary_amount.pyi} +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/experimental.pyi +5 -0
- package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +13 -4
- package/dist/typeshed-fallback/stubs/cachetools/cachetools/func.pyi +1 -4
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +2 -2
- package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/parser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +12 -12
- package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +9 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +11 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/af.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ar.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ca.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/cs.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/da.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/de.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/en.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/eo.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/es.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fa.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fi.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fr.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/gl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/he.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/it.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ja.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ka.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ko.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lt.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lv.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/nl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pt_br.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ru.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sk.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sv.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/uk.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_cn.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_tw.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +206 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +8 -6
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +50 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/__init__.pyi +9 -5
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +5 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +33 -10
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +64 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/html.pyi +5 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/images.pyi +18 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +8 -7
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/references.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +62 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/af.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ca.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/cs.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/da.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/de.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/en.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/eo.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/es.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fa.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fi.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fr.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/gl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/he.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/it.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ja.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ka.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ko.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lt.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lv.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/nl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pt_br.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ru.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sk.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sv.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/uk.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_cn.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_tw.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +3 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +257 -8
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +3 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +9 -8
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +28 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +41 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/latex2mathml.pyi +44 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +635 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathalphabet2unichar.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +82 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +8 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2unichar.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/unichar2tex.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/punctuation_chars.pyi +9 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +10 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/smartquotes.pyi +44 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/urischemes.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +18 -0
- package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +1 -1
- package/dist/typeshed-fallback/stubs/grpcio/grpc/__init__.pyi +32 -53
- package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +18 -21
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -0
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/ast.pyi +55 -22
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/compat.pyi +7 -4
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/functions.pyi +1 -1
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/visitor.pyi +14 -11
- package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_utils.pyi +2 -1
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +26 -12
- package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/density.pyi +15 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/link_analysis.pyi +20 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +12 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +8 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +5 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/leiden.pyi +18 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/local.pyi +15 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +9 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +9 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +28 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +1 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +14 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +6 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +17 -13
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/matchhelpers.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planar_drawing.pyi +10 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +28 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +11 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +6 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +6 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +30 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +46 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +53 -15
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/atlas.pyi +11 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/directed.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/internet_as_graphs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/nonisomorphic_trees.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/triads.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/linalg/laplacianmatrix.pyi +0 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gml.pyi +8 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graph6.pyi +7 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/pajek.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/__init__.pyi +4 -19
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/backends.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/rcm.pyi +4 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/colors.pyi +2 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/argon2.pyi +8 -7
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/bcrypt.pyi +4 -3
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/cisco.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/des_crypt.pyi +6 -5
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/digests.pyi +11 -7
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/django.pyi +5 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/fshp.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/ldap_digests.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/md5_crypt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/misc.pyi +4 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/mssql.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/oracle.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/pbkdf2.pyi +4 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scram.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scrypt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/utils/handlers.pyi +1 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +8 -29
- package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/python-jose/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-jose/jose/backends/__init__.pyi +1 -4
- package/dist/typeshed-fallback/stubs/python-jose/jose/backends/cryptography_backend.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-jose/jose/jws.pyi +2 -2
- package/dist/typeshed-fallback/stubs/python-jose/jose/jwt.pyi +4 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/display.pyi +2 -2
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +4 -4
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +13 -9
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +6 -6
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +0 -10
- package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +0 -9
- package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +0 -14
- package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +0 -36
- package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +0 -7
- package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +0 -18
- package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +0 -27
- package/dist/typeshed-fallback/stubs/caldav/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/caldav/caldav/__init__.pyi +0 -4
- package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +0 -84
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/base.pyi +0 -24
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/cdav.pyi +0 -100
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/dav.pyi +0 -63
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/ical.pyi +0 -9
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/error.pyi +0 -23
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/namespace.pyi +0 -4
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/url.pyi +0 -27
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/vcal.pyi +0 -1
- package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +0 -263
- package/dist/typeshed-fallback/stubs/caldav/caldav/requests.pyi +0 -8
- package/dist/typeshed-fallback/stubs/corus/METADATA.toml +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/corus/corus/io.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/path.pyi +0 -0
- package/dist/typeshed-fallback/stubs/corus/corus/readme.pyi +0 -17
- package/dist/typeshed-fallback/stubs/corus/corus/record.pyi +0 -8
- package/dist/typeshed-fallback/stubs/corus/corus/sources/__init__.pyi +0 -23
- package/dist/typeshed-fallback/stubs/corus/corus/sources/bsnlp.pyi +0 -75
- package/dist/typeshed-fallback/stubs/corus/corus/sources/buriy.pyi +0 -18
- package/dist/typeshed-fallback/stubs/corus/corus/sources/corpora.pyi +0 -50
- package/dist/typeshed-fallback/stubs/corus/corus/sources/factru.pyi +0 -74
- package/dist/typeshed-fallback/stubs/corus/corus/sources/gareev.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/sources/gramru.pyi +0 -1
- package/dist/typeshed-fallback/stubs/corus/corus/sources/lenta.pyi +0 -19
- package/dist/typeshed-fallback/stubs/corus/corus/sources/librusec.pyi +0 -14
- package/dist/typeshed-fallback/stubs/corus/corus/sources/meta.pyi +0 -43
- package/dist/typeshed-fallback/stubs/corus/corus/sources/mokoron.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/morphoru.pyi +0 -24
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ne5.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ods.pyi +0 -46
- package/dist/typeshed-fallback/stubs/corus/corus/sources/omnia.pyi +0 -49
- package/dist/typeshed-fallback/stubs/corus/corus/sources/persons.pyi +0 -27
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ria.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/sources/rudrec.pyi +0 -27
- package/dist/typeshed-fallback/stubs/corus/corus/sources/russe.pyi +0 -16
- package/dist/typeshed-fallback/stubs/corus/corus/sources/simlex.pyi +0 -14
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/__init__.pyi +0 -10
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/arzamas.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/common.pyi +0 -69
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/fontanka.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/interfax.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/kp.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/lenta.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/magazines.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/nplus1.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/proza.pyi +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/social.pyi +0 -15
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/subtitles.pyi +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/sources/toloka.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ud.pyi +0 -29
- package/dist/typeshed-fallback/stubs/corus/corus/sources/wiki.pyi +0 -20
- package/dist/typeshed-fallback/stubs/corus/corus/sources/wikiner.pyi +0 -19
- package/dist/typeshed-fallback/stubs/corus/corus/third/WikiExtractor.pyi +0 -225
- package/dist/typeshed-fallback/stubs/corus/corus/third/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/corus/corus/zip.pyi +0 -28
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/__init__.pyi +0 -60
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_build.pyi +0 -5
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_libgit2.pyi +0 -4
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +0 -763
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_run.pyi +0 -15
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/blame.pyi +0 -34
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/blob.pyi +0 -25
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/branches.pyi +0 -17
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/callbacks.pyi +0 -78
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/config.pyi +0 -59
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/credentials.pyi +0 -34
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +0 -394
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/errors.pyi +0 -6
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/ffi.pyi +0 -1
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/filter.pyi +0 -11
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +0 -59
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/legacyenums.pyi +0 -62
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/packbuilder.pyi +0 -15
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/references.pyi +0 -18
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/refspec.pyi +0 -18
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +0 -84
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +0 -211
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/settings.pyi +0 -37
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/submodules.pyi +0 -44
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +0 -49
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/__init__.pyi +0 -7
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/core.pyi +0 -4
|
@@ -1,763 +0,0 @@
|
|
|
1
|
-
from _typeshed import StrOrBytesPath
|
|
2
|
-
from collections.abc import Iterator
|
|
3
|
-
from io import IOBase
|
|
4
|
-
from typing import Any, Literal, final, overload
|
|
5
|
-
from typing_extensions import TypeAlias
|
|
6
|
-
|
|
7
|
-
from . import Index
|
|
8
|
-
from .enums import (
|
|
9
|
-
ApplyLocation,
|
|
10
|
-
BranchType,
|
|
11
|
-
DiffFind,
|
|
12
|
-
DiffFlag,
|
|
13
|
-
DiffOption,
|
|
14
|
-
DiffStatsFormat,
|
|
15
|
-
FileMode,
|
|
16
|
-
FileStatus,
|
|
17
|
-
MergeAnalysis,
|
|
18
|
-
MergePreference,
|
|
19
|
-
ObjectType,
|
|
20
|
-
Option,
|
|
21
|
-
ReferenceFilter,
|
|
22
|
-
ReferenceType,
|
|
23
|
-
ResetMode,
|
|
24
|
-
SortMode,
|
|
25
|
-
)
|
|
26
|
-
from .filter import Filter
|
|
27
|
-
|
|
28
|
-
GIT_APPLY_LOCATION_BOTH: int
|
|
29
|
-
GIT_APPLY_LOCATION_INDEX: int
|
|
30
|
-
GIT_APPLY_LOCATION_WORKDIR: int
|
|
31
|
-
GIT_BLAME_FIRST_PARENT: int
|
|
32
|
-
GIT_BLAME_IGNORE_WHITESPACE: int
|
|
33
|
-
GIT_BLAME_NORMAL: int
|
|
34
|
-
GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES: int
|
|
35
|
-
GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES: int
|
|
36
|
-
GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES: int
|
|
37
|
-
GIT_BLAME_TRACK_COPIES_SAME_FILE: int
|
|
38
|
-
GIT_BLAME_USE_MAILMAP: int
|
|
39
|
-
GIT_BLOB_FILTER_ATTRIBUTES_FROM_COMMIT: int
|
|
40
|
-
GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD: int
|
|
41
|
-
GIT_BLOB_FILTER_CHECK_FOR_BINARY: int
|
|
42
|
-
GIT_BLOB_FILTER_NO_SYSTEM_ATTRIBUTES: int
|
|
43
|
-
GIT_BRANCH_ALL: int
|
|
44
|
-
GIT_BRANCH_LOCAL: int
|
|
45
|
-
GIT_BRANCH_REMOTE: int
|
|
46
|
-
GIT_CHECKOUT_ALLOW_CONFLICTS: int
|
|
47
|
-
GIT_CHECKOUT_CONFLICT_STYLE_DIFF3: int
|
|
48
|
-
GIT_CHECKOUT_CONFLICT_STYLE_MERGE: int
|
|
49
|
-
GIT_CHECKOUT_CONFLICT_STYLE_ZDIFF3: int
|
|
50
|
-
GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH: int
|
|
51
|
-
GIT_CHECKOUT_DONT_OVERWRITE_IGNORED: int
|
|
52
|
-
GIT_CHECKOUT_DONT_REMOVE_EXISTING: int
|
|
53
|
-
GIT_CHECKOUT_DONT_UPDATE_INDEX: int
|
|
54
|
-
GIT_CHECKOUT_DONT_WRITE_INDEX: int
|
|
55
|
-
GIT_CHECKOUT_DRY_RUN: int
|
|
56
|
-
GIT_CHECKOUT_FORCE: int
|
|
57
|
-
GIT_CHECKOUT_NONE: int
|
|
58
|
-
GIT_CHECKOUT_NO_REFRESH: int
|
|
59
|
-
GIT_CHECKOUT_RECREATE_MISSING: int
|
|
60
|
-
GIT_CHECKOUT_REMOVE_IGNORED: int
|
|
61
|
-
GIT_CHECKOUT_REMOVE_UNTRACKED: int
|
|
62
|
-
GIT_CHECKOUT_SAFE: int
|
|
63
|
-
GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES: int
|
|
64
|
-
GIT_CHECKOUT_SKIP_UNMERGED: int
|
|
65
|
-
GIT_CHECKOUT_UPDATE_ONLY: int
|
|
66
|
-
GIT_CHECKOUT_USE_OURS: int
|
|
67
|
-
GIT_CHECKOUT_USE_THEIRS: int
|
|
68
|
-
GIT_CONFIG_HIGHEST_LEVEL: int
|
|
69
|
-
GIT_CONFIG_LEVEL_APP: int
|
|
70
|
-
GIT_CONFIG_LEVEL_WORKTREE: int
|
|
71
|
-
GIT_CONFIG_LEVEL_GLOBAL: int
|
|
72
|
-
GIT_CONFIG_LEVEL_LOCAL: int
|
|
73
|
-
GIT_CONFIG_LEVEL_PROGRAMDATA: int
|
|
74
|
-
GIT_CONFIG_LEVEL_SYSTEM: int
|
|
75
|
-
GIT_CONFIG_LEVEL_XDG: int
|
|
76
|
-
GIT_DELTA_ADDED: int
|
|
77
|
-
GIT_DELTA_CONFLICTED: int
|
|
78
|
-
GIT_DELTA_COPIED: int
|
|
79
|
-
GIT_DELTA_DELETED: int
|
|
80
|
-
GIT_DELTA_IGNORED: int
|
|
81
|
-
GIT_DELTA_MODIFIED: int
|
|
82
|
-
GIT_DELTA_RENAMED: int
|
|
83
|
-
GIT_DELTA_TYPECHANGE: int
|
|
84
|
-
GIT_DELTA_UNMODIFIED: int
|
|
85
|
-
GIT_DELTA_UNREADABLE: int
|
|
86
|
-
GIT_DELTA_UNTRACKED: int
|
|
87
|
-
GIT_DESCRIBE_ALL: int
|
|
88
|
-
GIT_DESCRIBE_DEFAULT: int
|
|
89
|
-
GIT_DESCRIBE_TAGS: int
|
|
90
|
-
GIT_DIFF_BREAK_REWRITES: int
|
|
91
|
-
GIT_DIFF_BREAK_REWRITES_FOR_RENAMES_ONLY: int
|
|
92
|
-
GIT_DIFF_DISABLE_PATHSPEC_MATCH: int
|
|
93
|
-
GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS: int
|
|
94
|
-
GIT_DIFF_FIND_ALL: int
|
|
95
|
-
GIT_DIFF_FIND_AND_BREAK_REWRITES: int
|
|
96
|
-
GIT_DIFF_FIND_BY_CONFIG: int
|
|
97
|
-
GIT_DIFF_FIND_COPIES: int
|
|
98
|
-
GIT_DIFF_FIND_COPIES_FROM_UNMODIFIED: int
|
|
99
|
-
GIT_DIFF_FIND_DONT_IGNORE_WHITESPACE: int
|
|
100
|
-
GIT_DIFF_FIND_EXACT_MATCH_ONLY: int
|
|
101
|
-
GIT_DIFF_FIND_FOR_UNTRACKED: int
|
|
102
|
-
GIT_DIFF_FIND_IGNORE_LEADING_WHITESPACE: int
|
|
103
|
-
GIT_DIFF_FIND_IGNORE_WHITESPACE: int
|
|
104
|
-
GIT_DIFF_FIND_REMOVE_UNMODIFIED: int
|
|
105
|
-
GIT_DIFF_FIND_RENAMES: int
|
|
106
|
-
GIT_DIFF_FIND_RENAMES_FROM_REWRITES: int
|
|
107
|
-
GIT_DIFF_FIND_REWRITES: int
|
|
108
|
-
GIT_DIFF_FLAG_BINARY: int
|
|
109
|
-
GIT_DIFF_FLAG_EXISTS: int
|
|
110
|
-
GIT_DIFF_FLAG_NOT_BINARY: int
|
|
111
|
-
GIT_DIFF_FLAG_VALID_ID: int
|
|
112
|
-
GIT_DIFF_FLAG_VALID_SIZE: int
|
|
113
|
-
GIT_DIFF_FORCE_BINARY: int
|
|
114
|
-
GIT_DIFF_FORCE_TEXT: int
|
|
115
|
-
GIT_DIFF_IGNORE_BLANK_LINES: int
|
|
116
|
-
GIT_DIFF_IGNORE_CASE: int
|
|
117
|
-
GIT_DIFF_IGNORE_FILEMODE: int
|
|
118
|
-
GIT_DIFF_IGNORE_SUBMODULES: int
|
|
119
|
-
GIT_DIFF_IGNORE_WHITESPACE: int
|
|
120
|
-
GIT_DIFF_IGNORE_WHITESPACE_CHANGE: int
|
|
121
|
-
GIT_DIFF_IGNORE_WHITESPACE_EOL: int
|
|
122
|
-
GIT_DIFF_INCLUDE_CASECHANGE: int
|
|
123
|
-
GIT_DIFF_INCLUDE_IGNORED: int
|
|
124
|
-
GIT_DIFF_INCLUDE_TYPECHANGE: int
|
|
125
|
-
GIT_DIFF_INCLUDE_TYPECHANGE_TREES: int
|
|
126
|
-
GIT_DIFF_INCLUDE_UNMODIFIED: int
|
|
127
|
-
GIT_DIFF_INCLUDE_UNREADABLE: int
|
|
128
|
-
GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED: int
|
|
129
|
-
GIT_DIFF_INCLUDE_UNTRACKED: int
|
|
130
|
-
GIT_DIFF_INDENT_HEURISTIC: int
|
|
131
|
-
GIT_DIFF_MINIMAL: int
|
|
132
|
-
GIT_DIFF_NORMAL: int
|
|
133
|
-
GIT_DIFF_PATIENCE: int
|
|
134
|
-
GIT_DIFF_RECURSE_IGNORED_DIRS: int
|
|
135
|
-
GIT_DIFF_RECURSE_UNTRACKED_DIRS: int
|
|
136
|
-
GIT_DIFF_REVERSE: int
|
|
137
|
-
GIT_DIFF_SHOW_BINARY: int
|
|
138
|
-
GIT_DIFF_SHOW_UNMODIFIED: int
|
|
139
|
-
GIT_DIFF_SHOW_UNTRACKED_CONTENT: int
|
|
140
|
-
GIT_DIFF_SKIP_BINARY_CHECK: int
|
|
141
|
-
GIT_DIFF_STATS_FULL: int
|
|
142
|
-
GIT_DIFF_STATS_INCLUDE_SUMMARY: int
|
|
143
|
-
GIT_DIFF_STATS_NONE: int
|
|
144
|
-
GIT_DIFF_STATS_NUMBER: int
|
|
145
|
-
GIT_DIFF_STATS_SHORT: int
|
|
146
|
-
GIT_DIFF_UPDATE_INDEX: int
|
|
147
|
-
GIT_FILEMODE_BLOB: int
|
|
148
|
-
GIT_FILEMODE_BLOB_EXECUTABLE: int
|
|
149
|
-
GIT_FILEMODE_COMMIT: int
|
|
150
|
-
GIT_FILEMODE_LINK: int
|
|
151
|
-
GIT_FILEMODE_TREE: int
|
|
152
|
-
GIT_FILEMODE_UNREADABLE: int
|
|
153
|
-
GIT_FILTER_ALLOW_UNSAFE: int
|
|
154
|
-
GIT_FILTER_ATTRIBUTES_FROM_COMMIT: int
|
|
155
|
-
GIT_FILTER_ATTRIBUTES_FROM_HEAD: int
|
|
156
|
-
GIT_FILTER_CLEAN: int
|
|
157
|
-
GIT_FILTER_DEFAULT: int
|
|
158
|
-
GIT_FILTER_DRIVER_PRIORITY: int
|
|
159
|
-
GIT_FILTER_NO_SYSTEM_ATTRIBUTES: int
|
|
160
|
-
GIT_FILTER_SMUDGE: int
|
|
161
|
-
GIT_FILTER_TO_ODB: int
|
|
162
|
-
GIT_FILTER_TO_WORKTREE: int
|
|
163
|
-
GIT_MERGE_ANALYSIS_FASTFORWARD: int
|
|
164
|
-
GIT_MERGE_ANALYSIS_NONE: int
|
|
165
|
-
GIT_MERGE_ANALYSIS_NORMAL: int
|
|
166
|
-
GIT_MERGE_ANALYSIS_UNBORN: int
|
|
167
|
-
GIT_MERGE_ANALYSIS_UP_TO_DATE: int
|
|
168
|
-
GIT_MERGE_PREFERENCE_FASTFORWARD_ONLY: int
|
|
169
|
-
GIT_MERGE_PREFERENCE_NONE: int
|
|
170
|
-
GIT_MERGE_PREFERENCE_NO_FASTFORWARD: int
|
|
171
|
-
GIT_OBJECT_ANY: int
|
|
172
|
-
GIT_OBJECT_BLOB: int
|
|
173
|
-
GIT_OBJECT_COMMIT: int
|
|
174
|
-
GIT_OBJECT_INVALID: int
|
|
175
|
-
GIT_OBJECT_OFS_DELTA: int
|
|
176
|
-
GIT_OBJECT_REF_DELTA: int
|
|
177
|
-
GIT_OBJECT_TAG: int
|
|
178
|
-
GIT_OBJECT_TREE: int
|
|
179
|
-
GIT_OID_HEXSZ: int
|
|
180
|
-
GIT_OID_HEX_ZERO: str
|
|
181
|
-
GIT_OID_MINPREFIXLEN: int
|
|
182
|
-
GIT_OID_RAWSZ: int
|
|
183
|
-
GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS: int
|
|
184
|
-
GIT_OPT_ENABLE_CACHING: int
|
|
185
|
-
GIT_OPT_ENABLE_FSYNC_GITDIR: int
|
|
186
|
-
GIT_OPT_ENABLE_OFS_DELTA: int
|
|
187
|
-
GIT_OPT_ENABLE_STRICT_HASH_VERIFICATION: int
|
|
188
|
-
GIT_OPT_ENABLE_STRICT_OBJECT_CREATION: int
|
|
189
|
-
GIT_OPT_ENABLE_STRICT_SYMBOLIC_REF_CREATION: int
|
|
190
|
-
GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY: int
|
|
191
|
-
GIT_OPT_GET_CACHED_MEMORY: int
|
|
192
|
-
GIT_OPT_GET_MWINDOW_MAPPED_LIMIT: int
|
|
193
|
-
GIT_OPT_GET_MWINDOW_SIZE: int
|
|
194
|
-
GIT_OPT_GET_OWNER_VALIDATION: int
|
|
195
|
-
GIT_OPT_GET_PACK_MAX_OBJECTS: int
|
|
196
|
-
GIT_OPT_GET_SEARCH_PATH: int
|
|
197
|
-
GIT_OPT_GET_TEMPLATE_PATH: int
|
|
198
|
-
GIT_OPT_GET_USER_AGENT: int
|
|
199
|
-
GIT_OPT_GET_WINDOWS_SHAREMODE: int
|
|
200
|
-
GIT_OPT_SET_ALLOCATOR: int
|
|
201
|
-
GIT_OPT_SET_CACHE_MAX_SIZE: int
|
|
202
|
-
GIT_OPT_SET_CACHE_OBJECT_LIMIT: int
|
|
203
|
-
GIT_OPT_SET_MWINDOW_MAPPED_LIMIT: int
|
|
204
|
-
GIT_OPT_SET_MWINDOW_SIZE: int
|
|
205
|
-
GIT_OPT_SET_OWNER_VALIDATION: int
|
|
206
|
-
GIT_OPT_SET_PACK_MAX_OBJECTS: int
|
|
207
|
-
GIT_OPT_SET_SEARCH_PATH: int
|
|
208
|
-
GIT_OPT_SET_SSL_CERT_LOCATIONS: int
|
|
209
|
-
GIT_OPT_SET_SSL_CIPHERS: int
|
|
210
|
-
GIT_OPT_SET_TEMPLATE_PATH: int
|
|
211
|
-
GIT_OPT_SET_USER_AGENT: int
|
|
212
|
-
GIT_OPT_SET_WINDOWS_SHAREMODE: int
|
|
213
|
-
GIT_REFERENCES_ALL: int
|
|
214
|
-
GIT_REFERENCES_BRANCHES: int
|
|
215
|
-
GIT_REFERENCES_TAGS: int
|
|
216
|
-
GIT_RESET_HARD: int
|
|
217
|
-
GIT_RESET_MIXED: int
|
|
218
|
-
GIT_RESET_SOFT: int
|
|
219
|
-
GIT_REVSPEC_MERGE_BASE: int
|
|
220
|
-
GIT_REVSPEC_RANGE: int
|
|
221
|
-
GIT_REVSPEC_SINGLE: int
|
|
222
|
-
GIT_SORT_NONE: int
|
|
223
|
-
GIT_SORT_REVERSE: int
|
|
224
|
-
GIT_SORT_TIME: int
|
|
225
|
-
GIT_SORT_TOPOLOGICAL: int
|
|
226
|
-
GIT_STASH_APPLY_DEFAULT: int
|
|
227
|
-
GIT_STASH_APPLY_REINSTATE_INDEX: int
|
|
228
|
-
GIT_STASH_DEFAULT: int
|
|
229
|
-
GIT_STASH_INCLUDE_IGNORED: int
|
|
230
|
-
GIT_STASH_INCLUDE_UNTRACKED: int
|
|
231
|
-
GIT_STASH_KEEP_ALL: int
|
|
232
|
-
GIT_STASH_KEEP_INDEX: int
|
|
233
|
-
GIT_STATUS_CONFLICTED: int
|
|
234
|
-
GIT_STATUS_CURRENT: int
|
|
235
|
-
GIT_STATUS_IGNORED: int
|
|
236
|
-
GIT_STATUS_INDEX_DELETED: int
|
|
237
|
-
GIT_STATUS_INDEX_MODIFIED: int
|
|
238
|
-
GIT_STATUS_INDEX_NEW: int
|
|
239
|
-
GIT_STATUS_INDEX_RENAMED: int
|
|
240
|
-
GIT_STATUS_INDEX_TYPECHANGE: int
|
|
241
|
-
GIT_STATUS_WT_DELETED: int
|
|
242
|
-
GIT_STATUS_WT_MODIFIED: int
|
|
243
|
-
GIT_STATUS_WT_NEW: int
|
|
244
|
-
GIT_STATUS_WT_RENAMED: int
|
|
245
|
-
GIT_STATUS_WT_TYPECHANGE: int
|
|
246
|
-
GIT_STATUS_WT_UNREADABLE: int
|
|
247
|
-
GIT_SUBMODULE_IGNORE_ALL: int
|
|
248
|
-
GIT_SUBMODULE_IGNORE_DIRTY: int
|
|
249
|
-
GIT_SUBMODULE_IGNORE_NONE: int
|
|
250
|
-
GIT_SUBMODULE_IGNORE_UNSPECIFIED: int
|
|
251
|
-
GIT_SUBMODULE_IGNORE_UNTRACKED: int
|
|
252
|
-
GIT_SUBMODULE_STATUS_INDEX_ADDED: int
|
|
253
|
-
GIT_SUBMODULE_STATUS_INDEX_DELETED: int
|
|
254
|
-
GIT_SUBMODULE_STATUS_INDEX_MODIFIED: int
|
|
255
|
-
GIT_SUBMODULE_STATUS_IN_CONFIG: int
|
|
256
|
-
GIT_SUBMODULE_STATUS_IN_HEAD: int
|
|
257
|
-
GIT_SUBMODULE_STATUS_IN_INDEX: int
|
|
258
|
-
GIT_SUBMODULE_STATUS_IN_WD: int
|
|
259
|
-
GIT_SUBMODULE_STATUS_WD_ADDED: int
|
|
260
|
-
GIT_SUBMODULE_STATUS_WD_DELETED: int
|
|
261
|
-
GIT_SUBMODULE_STATUS_WD_INDEX_MODIFIED: int
|
|
262
|
-
GIT_SUBMODULE_STATUS_WD_MODIFIED: int
|
|
263
|
-
GIT_SUBMODULE_STATUS_WD_UNINITIALIZED: int
|
|
264
|
-
GIT_SUBMODULE_STATUS_WD_UNTRACKED: int
|
|
265
|
-
GIT_SUBMODULE_STATUS_WD_WD_MODIFIED: int
|
|
266
|
-
LIBGIT2_VERSION: str
|
|
267
|
-
LIBGIT2_VER_MAJOR: int
|
|
268
|
-
LIBGIT2_VER_MINOR: int
|
|
269
|
-
LIBGIT2_VER_REVISION: int
|
|
270
|
-
|
|
271
|
-
_GIT_OBJ_BLOB: TypeAlias = Literal[3]
|
|
272
|
-
_GIT_OBJ_COMMIT: TypeAlias = Literal[1]
|
|
273
|
-
_GIT_OBJ_TAG: TypeAlias = Literal[4]
|
|
274
|
-
_GIT_OBJ_TREE: TypeAlias = Literal[2]
|
|
275
|
-
|
|
276
|
-
class Object:
|
|
277
|
-
_pointer: bytes
|
|
278
|
-
filemode: FileMode
|
|
279
|
-
id: Oid
|
|
280
|
-
name: str | None
|
|
281
|
-
raw_name: bytes | None
|
|
282
|
-
short_id: str
|
|
283
|
-
type: Literal[_GIT_OBJ_COMMIT, _GIT_OBJ_TREE, _GIT_OBJ_TAG, _GIT_OBJ_BLOB]
|
|
284
|
-
type_str: Literal["commit", "tree", "tag", "blob"]
|
|
285
|
-
@overload
|
|
286
|
-
def peel(self, target_type: Literal[_GIT_OBJ_COMMIT]) -> Commit: ...
|
|
287
|
-
@overload
|
|
288
|
-
def peel(self, target_type: Literal[_GIT_OBJ_TREE]) -> Tree: ...
|
|
289
|
-
@overload
|
|
290
|
-
def peel(self, target_type: Literal[_GIT_OBJ_TAG]) -> Tag: ...
|
|
291
|
-
@overload
|
|
292
|
-
def peel(self, target_type: Literal[_GIT_OBJ_BLOB]) -> Blob: ...
|
|
293
|
-
@overload
|
|
294
|
-
def peel(self, target_type: None) -> Commit | Tree | Blob: ...
|
|
295
|
-
def read_raw(self) -> bytes: ...
|
|
296
|
-
def __eq__(self, other: object) -> bool: ...
|
|
297
|
-
def __ge__(self, other: object) -> bool: ...
|
|
298
|
-
def __gt__(self, other: object) -> bool: ...
|
|
299
|
-
def __hash__(self) -> int: ...
|
|
300
|
-
def __le__(self, other: object) -> bool: ...
|
|
301
|
-
def __lt__(self, other: object) -> bool: ...
|
|
302
|
-
def __ne__(self, other: object) -> bool: ...
|
|
303
|
-
|
|
304
|
-
@final
|
|
305
|
-
class Reference:
|
|
306
|
-
name: str
|
|
307
|
-
raw_name: bytes
|
|
308
|
-
raw_shorthand: bytes
|
|
309
|
-
raw_target: Oid | bytes
|
|
310
|
-
shorthand: str
|
|
311
|
-
target: Oid | str
|
|
312
|
-
type: ReferenceType
|
|
313
|
-
@overload
|
|
314
|
-
def __init__(self, name: str, target: str) -> None: ...
|
|
315
|
-
@overload
|
|
316
|
-
def __init__(self, name: str, oid: Oid, peel: Oid) -> None: ...
|
|
317
|
-
def delete(self) -> None: ...
|
|
318
|
-
def log(self) -> Iterator[RefLogEntry]: ...
|
|
319
|
-
@overload
|
|
320
|
-
def peel(self, type: Literal[_GIT_OBJ_COMMIT]) -> Commit: ...
|
|
321
|
-
@overload
|
|
322
|
-
def peel(self, type: Literal[_GIT_OBJ_TREE]) -> Tree: ...
|
|
323
|
-
@overload
|
|
324
|
-
def peel(self, type: Literal[_GIT_OBJ_TAG]) -> Tag: ...
|
|
325
|
-
@overload
|
|
326
|
-
def peel(self, type: Literal[_GIT_OBJ_BLOB]) -> Blob: ...
|
|
327
|
-
@overload
|
|
328
|
-
def peel(self, type: None) -> Commit | Tree | Blob: ...
|
|
329
|
-
def rename(self, new_name: str) -> None: ...
|
|
330
|
-
def resolve(self) -> Reference: ...
|
|
331
|
-
def set_target(self, target: _OidArg, message: str = ...) -> None: ...
|
|
332
|
-
def __eq__(self, other: object) -> bool: ...
|
|
333
|
-
def __ge__(self, other: object) -> bool: ...
|
|
334
|
-
def __gt__(self, other: object) -> bool: ...
|
|
335
|
-
def __le__(self, other: object) -> bool: ...
|
|
336
|
-
def __lt__(self, other: object) -> bool: ...
|
|
337
|
-
def __ne__(self, other: object) -> bool: ...
|
|
338
|
-
|
|
339
|
-
class AlreadyExistsError(ValueError): ...
|
|
340
|
-
|
|
341
|
-
@final
|
|
342
|
-
class Blob(Object):
|
|
343
|
-
data: bytes
|
|
344
|
-
is_binary: bool
|
|
345
|
-
size: int
|
|
346
|
-
def diff(self, blob: Blob = ..., flag: int = ..., old_as_path: str = ..., new_as_path: str = ...) -> Patch: ...
|
|
347
|
-
def diff_to_buffer(
|
|
348
|
-
self, buffer: bytes | None = None, flag: DiffOption = ..., old_as_path: str = ..., buffer_as_path: str = ...
|
|
349
|
-
) -> Patch: ...
|
|
350
|
-
|
|
351
|
-
# This is not a real subclassing. Just ensuring type-checkers sees this type as compatible with _CDataBase
|
|
352
|
-
# pyright has no error code for subclassing final
|
|
353
|
-
@final
|
|
354
|
-
class Branch(Reference): # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
|
|
355
|
-
branch_name: str
|
|
356
|
-
raw_branch_name: bytes
|
|
357
|
-
remote_name: str
|
|
358
|
-
upstream: Branch
|
|
359
|
-
upstream_name: str
|
|
360
|
-
def delete(self) -> None: ...
|
|
361
|
-
def is_checked_out(self) -> bool: ...
|
|
362
|
-
def is_head(self) -> bool: ...
|
|
363
|
-
def rename(self, name: str, force: bool = False) -> None: ...
|
|
364
|
-
|
|
365
|
-
@final
|
|
366
|
-
class Commit(Object):
|
|
367
|
-
author: Signature
|
|
368
|
-
commit_time: int
|
|
369
|
-
commit_time_offset: int
|
|
370
|
-
committer: Signature
|
|
371
|
-
gpg_signature: tuple[bytes, bytes]
|
|
372
|
-
message: str
|
|
373
|
-
message_encoding: str
|
|
374
|
-
message_trailers: dict[str, str]
|
|
375
|
-
parent_ids: list[Oid]
|
|
376
|
-
parents: list[Commit]
|
|
377
|
-
raw_message: bytes
|
|
378
|
-
tree: Tree
|
|
379
|
-
tree_id: Oid
|
|
380
|
-
|
|
381
|
-
class Diff:
|
|
382
|
-
deltas: Iterator[DiffDelta]
|
|
383
|
-
patch: str | None
|
|
384
|
-
patchid: Oid
|
|
385
|
-
stats: DiffStats
|
|
386
|
-
def find_similar(
|
|
387
|
-
self,
|
|
388
|
-
flags: DiffFind = ...,
|
|
389
|
-
rename_threshold: int = 50,
|
|
390
|
-
copy_threshold: int = 50,
|
|
391
|
-
rename_from_rewrite_threshold: int = 50,
|
|
392
|
-
break_rewrite_threshold: int = 60,
|
|
393
|
-
rename_limit: int = 1000,
|
|
394
|
-
) -> None: ...
|
|
395
|
-
def merge(self, diff: Diff) -> None: ...
|
|
396
|
-
@staticmethod
|
|
397
|
-
def from_c(diff: bytes, repo: Repository) -> Diff: ...
|
|
398
|
-
@staticmethod
|
|
399
|
-
def parse_diff(git_diff: str | bytes) -> Diff: ...
|
|
400
|
-
def __getitem__(self, index: int) -> Patch: ... # Diff_getitem
|
|
401
|
-
def __iter__(self) -> Iterator[Patch]: ... # -> DiffIter
|
|
402
|
-
def __len__(self) -> int: ...
|
|
403
|
-
|
|
404
|
-
@final
|
|
405
|
-
class DiffDelta:
|
|
406
|
-
flags: DiffFlag
|
|
407
|
-
is_binary: bool
|
|
408
|
-
nfiles: int
|
|
409
|
-
new_file: DiffFile
|
|
410
|
-
old_file: DiffFile
|
|
411
|
-
similarity: int
|
|
412
|
-
status: FileStatus
|
|
413
|
-
def status_char(self) -> str: ...
|
|
414
|
-
|
|
415
|
-
@final
|
|
416
|
-
class DiffFile:
|
|
417
|
-
flags: DiffFlag
|
|
418
|
-
id: Oid
|
|
419
|
-
mode: FileMode
|
|
420
|
-
path: str
|
|
421
|
-
raw_path: bytes
|
|
422
|
-
size: int
|
|
423
|
-
@staticmethod
|
|
424
|
-
def from_c(ptr: bytes) -> DiffFile: ...
|
|
425
|
-
|
|
426
|
-
class DiffHunk:
|
|
427
|
-
header: str
|
|
428
|
-
lines: list[DiffLine]
|
|
429
|
-
new_lines: int
|
|
430
|
-
new_start: int
|
|
431
|
-
old_lines: int
|
|
432
|
-
old_start: int
|
|
433
|
-
|
|
434
|
-
@final
|
|
435
|
-
class DiffLine:
|
|
436
|
-
content: str
|
|
437
|
-
content_offset: int
|
|
438
|
-
new_lineno: int
|
|
439
|
-
num_lines: int
|
|
440
|
-
old_lineno: int
|
|
441
|
-
origin: str
|
|
442
|
-
raw_content: bytes
|
|
443
|
-
|
|
444
|
-
class DiffStats:
|
|
445
|
-
deletions: int
|
|
446
|
-
files_changed: int
|
|
447
|
-
insertions: int
|
|
448
|
-
def format(self, format: DiffStatsFormat, width: int) -> str: ...
|
|
449
|
-
|
|
450
|
-
@final
|
|
451
|
-
class FilterSource:
|
|
452
|
-
repo: Repository
|
|
453
|
-
path: str
|
|
454
|
-
filemode: int
|
|
455
|
-
oid: Oid
|
|
456
|
-
mode: int
|
|
457
|
-
flags: int
|
|
458
|
-
|
|
459
|
-
class GitError(Exception): ...
|
|
460
|
-
class InvalidSpecError(ValueError): ...
|
|
461
|
-
|
|
462
|
-
@final
|
|
463
|
-
class Mailmap:
|
|
464
|
-
def __init__(self) -> None: ...
|
|
465
|
-
def add_entry(
|
|
466
|
-
self, real_name: str = ..., real_email: str = ..., replace_name: str = ..., replace_email: str = ...
|
|
467
|
-
) -> None: ...
|
|
468
|
-
@staticmethod
|
|
469
|
-
def from_buffer(buffer: str | bytes) -> Mailmap: ...
|
|
470
|
-
@staticmethod
|
|
471
|
-
def from_repository(repository: Repository) -> Mailmap: ...
|
|
472
|
-
def resolve(self, name: str, email: str) -> tuple[str, str]: ...
|
|
473
|
-
def resolve_signature(self, sig: Signature) -> Signature: ...
|
|
474
|
-
|
|
475
|
-
@final
|
|
476
|
-
class Note:
|
|
477
|
-
annotated_id: Oid
|
|
478
|
-
id: Oid
|
|
479
|
-
message: str
|
|
480
|
-
def remove(self, author: Signature, committer: Signature, ref: str = "refs/notes/commits") -> None: ...
|
|
481
|
-
|
|
482
|
-
@final
|
|
483
|
-
class Odb:
|
|
484
|
-
backends: Iterator[OdbBackend]
|
|
485
|
-
def __init__(self, path: StrOrBytesPath | None = None) -> None: ...
|
|
486
|
-
def add_backend(self, backend: OdbBackend, priority: int) -> None: ...
|
|
487
|
-
def add_disk_alternate(self, path: str) -> None: ...
|
|
488
|
-
def exists(self, oid: _OidArg) -> bool: ...
|
|
489
|
-
def read(self, oid: _OidArg) -> tuple[int, int, bytes]: ...
|
|
490
|
-
def write(self, type: int, data: bytes) -> Oid: ...
|
|
491
|
-
def __contains__(self, other: _OidArg) -> bool: ...
|
|
492
|
-
def __iter__(self) -> Iterator[Oid]: ... # Odb_as_iter
|
|
493
|
-
|
|
494
|
-
class OdbBackend:
|
|
495
|
-
def __init__(self) -> None: ...
|
|
496
|
-
def exists(self, oid: _OidArg) -> bool: ...
|
|
497
|
-
def exists_prefix(self, partial_id: _OidArg) -> Oid: ...
|
|
498
|
-
def read(self, oid: _OidArg) -> tuple[int, bytes]: ...
|
|
499
|
-
def read_header(self, oid: _OidArg) -> tuple[int, int]: ...
|
|
500
|
-
def read_prefix(self, oid: _OidArg) -> tuple[int, bytes, Oid]: ...
|
|
501
|
-
def refresh(self) -> None: ...
|
|
502
|
-
def __iter__(self) -> Iterator[Oid]: ... # OdbBackend_as_iter
|
|
503
|
-
|
|
504
|
-
@final
|
|
505
|
-
class OdbBackendLoose(OdbBackend):
|
|
506
|
-
def __init__(
|
|
507
|
-
self, objects_dir: StrOrBytesPath, compression_level: int, do_fsync: bool, dir_mode: int = 0, file_mode: int = 0
|
|
508
|
-
) -> None: ...
|
|
509
|
-
|
|
510
|
-
@final
|
|
511
|
-
class OdbBackendPack(OdbBackend):
|
|
512
|
-
def __init__(self, path: StrOrBytesPath) -> None: ...
|
|
513
|
-
|
|
514
|
-
@final
|
|
515
|
-
class Oid:
|
|
516
|
-
raw: bytes
|
|
517
|
-
def __init__(self, raw: bytes = ..., hex: str = ...) -> None: ...
|
|
518
|
-
def __eq__(self, other: object) -> bool: ...
|
|
519
|
-
def __ge__(self, other: object) -> bool: ...
|
|
520
|
-
def __gt__(self, other: object) -> bool: ...
|
|
521
|
-
def __hash__(self) -> int: ...
|
|
522
|
-
def __le__(self, other: object) -> bool: ...
|
|
523
|
-
def __lt__(self, other: object) -> bool: ...
|
|
524
|
-
def __ne__(self, other: object) -> bool: ...
|
|
525
|
-
|
|
526
|
-
@final
|
|
527
|
-
class Patch:
|
|
528
|
-
data: bytes
|
|
529
|
-
delta: DiffDelta
|
|
530
|
-
hunks: list[DiffHunk]
|
|
531
|
-
line_stats: tuple[int, int, int] # context, additions, deletions
|
|
532
|
-
text: str | None
|
|
533
|
-
|
|
534
|
-
@staticmethod
|
|
535
|
-
def create_from(
|
|
536
|
-
old: Blob | bytes | None,
|
|
537
|
-
new: Blob | bytes | None,
|
|
538
|
-
old_as_path: str = ...,
|
|
539
|
-
new_as_path: str = ...,
|
|
540
|
-
flag: DiffOption = ...,
|
|
541
|
-
context_lines: int = 3,
|
|
542
|
-
interhunk_lines: int = 0,
|
|
543
|
-
) -> Patch: ...
|
|
544
|
-
|
|
545
|
-
@final
|
|
546
|
-
class RefLogEntry:
|
|
547
|
-
committer: Signature
|
|
548
|
-
message: str
|
|
549
|
-
oid_new: Oid
|
|
550
|
-
oid_old: Oid
|
|
551
|
-
|
|
552
|
-
@final
|
|
553
|
-
class Refdb:
|
|
554
|
-
def compress(self) -> None: ...
|
|
555
|
-
@staticmethod
|
|
556
|
-
def new(repo: Repository) -> Refdb: ...
|
|
557
|
-
@staticmethod
|
|
558
|
-
def open(repo: Repository) -> Refdb: ...
|
|
559
|
-
def set_backend(self, backend: RefdbBackend) -> None: ...
|
|
560
|
-
|
|
561
|
-
class RefdbBackend:
|
|
562
|
-
def __init__(self) -> None: ...
|
|
563
|
-
def compress(self) -> None: ...
|
|
564
|
-
def delete(self, ref_name: str, old_id: _OidArg, old_target: str) -> None: ...
|
|
565
|
-
def ensure_log(self, ref_name: str) -> bool: ...
|
|
566
|
-
def exists(self, refname: str) -> bool: ...
|
|
567
|
-
def has_log(self, ref_name: str) -> bool: ...
|
|
568
|
-
def lookup(self, refname: str) -> Reference: ...
|
|
569
|
-
def rename(self, old_name: str, new_name: str, force: bool, who: Signature, message: str) -> Reference: ...
|
|
570
|
-
def write(self, ref: Reference, force: bool, who: Signature, message: str, old: _OidArg, old_target: str) -> None: ...
|
|
571
|
-
|
|
572
|
-
@final
|
|
573
|
-
class RefdbFsBackend(RefdbBackend):
|
|
574
|
-
def __init__(self, repo: Repository) -> None: ...
|
|
575
|
-
|
|
576
|
-
class Repository:
|
|
577
|
-
_pointer: bytes
|
|
578
|
-
default_signature: Signature
|
|
579
|
-
head: Reference
|
|
580
|
-
head_is_detached: bool
|
|
581
|
-
head_is_unborn: bool
|
|
582
|
-
is_bare: bool
|
|
583
|
-
is_empty: bool
|
|
584
|
-
is_shallow: bool
|
|
585
|
-
odb: Odb
|
|
586
|
-
path: str
|
|
587
|
-
refdb: Refdb
|
|
588
|
-
workdir: str
|
|
589
|
-
def __init__(self, backend: object | None = None) -> None: ...
|
|
590
|
-
def TreeBuilder(self, src: Tree | _OidArg = ...) -> TreeBuilder: ...
|
|
591
|
-
def _disown(self) -> None: ...
|
|
592
|
-
def _from_c(self, pointer: bytes, free: bool) -> None: ...
|
|
593
|
-
def add_worktree(self, name: str, path: str, ref: Reference = ...) -> Worktree: ...
|
|
594
|
-
def applies(self, diff: Diff, location: ApplyLocation = ..., raise_error: bool = False) -> bool: ...
|
|
595
|
-
def apply(self, diff: Diff, location: ApplyLocation = ...) -> None: ...
|
|
596
|
-
def cherrypick(self, id: _OidArg) -> None: ...
|
|
597
|
-
def compress_references(self) -> None: ...
|
|
598
|
-
def create_blob(self, data: bytes) -> Oid: ...
|
|
599
|
-
def create_blob_fromdisk(self, path: str) -> Oid: ...
|
|
600
|
-
def create_blob_fromiobase(self, iobase: IOBase) -> Oid: ...
|
|
601
|
-
def create_blob_fromworkdir(self, path: str) -> Oid: ...
|
|
602
|
-
def create_branch(self, name: str, commit: Commit, force: bool = False) -> Branch: ...
|
|
603
|
-
def create_commit(
|
|
604
|
-
self,
|
|
605
|
-
reference_name: str | None,
|
|
606
|
-
author: Signature,
|
|
607
|
-
committer: Signature,
|
|
608
|
-
message: str | bytes,
|
|
609
|
-
tree: _OidArg,
|
|
610
|
-
parents: list[_OidArg],
|
|
611
|
-
encoding: str = ...,
|
|
612
|
-
) -> Oid: ...
|
|
613
|
-
def create_commit_string(
|
|
614
|
-
self,
|
|
615
|
-
author: Signature,
|
|
616
|
-
committer: Signature,
|
|
617
|
-
message: str | bytes,
|
|
618
|
-
tree: _OidArg,
|
|
619
|
-
parents: list[_OidArg],
|
|
620
|
-
encoding: str = ...,
|
|
621
|
-
) -> Oid: ...
|
|
622
|
-
def create_commit_with_signature(self, content: str, signature: str, signature_field: str | None = None) -> Oid: ...
|
|
623
|
-
def create_note(
|
|
624
|
-
self,
|
|
625
|
-
message: str,
|
|
626
|
-
author: Signature,
|
|
627
|
-
committer: Signature,
|
|
628
|
-
annotated_id: str,
|
|
629
|
-
ref: str = "refs/notes/commits",
|
|
630
|
-
force: bool = False,
|
|
631
|
-
) -> Oid: ...
|
|
632
|
-
def create_reference_direct(self, name: str, target: _OidArg, force: bool, message: str | None = None) -> Reference: ...
|
|
633
|
-
def create_reference_symbolic(self, name: str, target: str, force: bool, message: str | None = None) -> Reference: ...
|
|
634
|
-
def create_tag(self, name: str, oid: _OidArg, type: ObjectType, tagger: Signature, message: str) -> Oid: ...
|
|
635
|
-
def descendant_of(self, oid1: _OidArg, oid2: _OidArg) -> bool: ...
|
|
636
|
-
def expand_id(self, hex: str) -> Oid: ...
|
|
637
|
-
def free(self) -> None: ...
|
|
638
|
-
def git_object_lookup_prefix(self, oid: _OidArg) -> Object: ...
|
|
639
|
-
def list_worktrees(self) -> list[str]: ...
|
|
640
|
-
def listall_branches(self, flag: BranchType = ...) -> list[str]: ...
|
|
641
|
-
def listall_mergeheads(self) -> list[Oid]: ...
|
|
642
|
-
def listall_stashes(self) -> list[Stash]: ...
|
|
643
|
-
def listall_submodules(self) -> list[str]: ...
|
|
644
|
-
def lookup_branch(self, branch_name: str, branch_type: BranchType = ...) -> Branch: ...
|
|
645
|
-
def lookup_note(self, annotated_id: str, ref: str = "refs/notes/commits") -> Note: ...
|
|
646
|
-
def lookup_reference(self, name: str) -> Reference: ...
|
|
647
|
-
def lookup_reference_dwim(self, name: str) -> Reference: ...
|
|
648
|
-
def lookup_worktree(self, name: str) -> Worktree: ...
|
|
649
|
-
def merge_analysis(self, their_head: _OidArg, our_ref: str = "HEAD") -> tuple[MergeAnalysis, MergePreference]: ...
|
|
650
|
-
def merge_base(self, oid1: _OidArg, oid2: _OidArg) -> Oid: ...
|
|
651
|
-
def merge_base_many(self, oids: list[_OidArg]) -> Oid: ...
|
|
652
|
-
def merge_base_octopus(self, oids: list[_OidArg]) -> Oid: ...
|
|
653
|
-
def notes(self) -> Iterator[Note]: ...
|
|
654
|
-
def path_is_ignored(self, path: str) -> bool: ...
|
|
655
|
-
def raw_listall_branches(self, flag: BranchType = ...) -> list[bytes]: ...
|
|
656
|
-
def raw_listall_references(self) -> list[bytes]: ...
|
|
657
|
-
def references_iterator_init(self) -> Iterator[Reference]: ...
|
|
658
|
-
def references_iterator_next(self, iter: Iterator[Reference], references_return_type: ReferenceFilter = ...) -> Reference: ...
|
|
659
|
-
def reset(self, oid: _OidArg, reset_type: ResetMode) -> None: ...
|
|
660
|
-
def revparse(self, revspec: str) -> RevSpec: ...
|
|
661
|
-
def revparse_ext(self, revision: str) -> tuple[Object, Reference]: ...
|
|
662
|
-
def revparse_single(self, revision: str) -> Object: ...
|
|
663
|
-
def set_odb(self, odb: Odb) -> None: ...
|
|
664
|
-
def set_refdb(self, refdb: Refdb) -> None: ...
|
|
665
|
-
def status(self, untracked_files: str = "all", ignored: bool = False) -> dict[str, int]: ...
|
|
666
|
-
def status_file(self, path: str) -> int: ...
|
|
667
|
-
def walk(self, oid: _OidArg | None, sort_mode: SortMode = ...) -> Walker: ...
|
|
668
|
-
|
|
669
|
-
class RevSpec:
|
|
670
|
-
flags: int
|
|
671
|
-
from_object: Object
|
|
672
|
-
to_object: Object
|
|
673
|
-
|
|
674
|
-
@final
|
|
675
|
-
class Signature:
|
|
676
|
-
_encoding: str | None
|
|
677
|
-
_pointer: bytes
|
|
678
|
-
email: str
|
|
679
|
-
name: str
|
|
680
|
-
offset: int
|
|
681
|
-
raw_email: bytes
|
|
682
|
-
raw_name: bytes
|
|
683
|
-
time: int
|
|
684
|
-
def __init__(self, name: str, email: str, time: int = -1, offset: int = 0, encoding: str | None = None) -> None: ...
|
|
685
|
-
def __eq__(self, other: object) -> bool: ...
|
|
686
|
-
def __ge__(self, other: object) -> bool: ...
|
|
687
|
-
def __gt__(self, other: object) -> bool: ...
|
|
688
|
-
def __le__(self, other: object) -> bool: ...
|
|
689
|
-
def __lt__(self, other: object) -> bool: ...
|
|
690
|
-
def __ne__(self, other: object) -> bool: ...
|
|
691
|
-
|
|
692
|
-
@final
|
|
693
|
-
class Stash:
|
|
694
|
-
commit_id: Oid
|
|
695
|
-
message: str
|
|
696
|
-
raw_message: bytes
|
|
697
|
-
def __eq__(self, other: object) -> bool: ...
|
|
698
|
-
def __ge__(self, other: object) -> bool: ...
|
|
699
|
-
def __gt__(self, other: object) -> bool: ...
|
|
700
|
-
def __le__(self, other: object) -> bool: ...
|
|
701
|
-
def __lt__(self, other: object) -> bool: ...
|
|
702
|
-
def __ne__(self, other: object) -> bool: ...
|
|
703
|
-
|
|
704
|
-
@final
|
|
705
|
-
class Tag(Object):
|
|
706
|
-
message: str
|
|
707
|
-
name: str
|
|
708
|
-
raw_message: bytes
|
|
709
|
-
raw_name: bytes
|
|
710
|
-
tagger: Signature
|
|
711
|
-
target: Oid
|
|
712
|
-
def get_object(self) -> Object: ...
|
|
713
|
-
|
|
714
|
-
class Tree(Object):
|
|
715
|
-
def diff_to_index(self, index: Index, flags: DiffOption = ..., context_lines: int = 3, interhunk_lines: int = 0) -> Diff: ...
|
|
716
|
-
def diff_to_tree(
|
|
717
|
-
self, tree: Tree = ..., flags: DiffOption = ..., context_lines: int = 3, interhunk_lines: int = 3, swap: bool = False
|
|
718
|
-
) -> Diff: ...
|
|
719
|
-
def diff_to_workdir(self, flags: DiffOption = ..., context_lines: int = 3, interhunk_lines: int = 0) -> Diff: ...
|
|
720
|
-
def __contains__(self, other: str) -> bool: ... # Tree_contains
|
|
721
|
-
def __getitem__(self, index: str | int) -> Object: ... # Tree_subscript
|
|
722
|
-
def __iter__(self) -> Iterator[Object]: ...
|
|
723
|
-
def __len__(self) -> int: ... # Tree_len
|
|
724
|
-
def __rtruediv__(self, other: str) -> Object: ...
|
|
725
|
-
def __truediv__(self, other: str) -> Object: ... # Tree_divide
|
|
726
|
-
|
|
727
|
-
class TreeBuilder:
|
|
728
|
-
def clear(self) -> None: ...
|
|
729
|
-
def get(self, name: str) -> Object: ...
|
|
730
|
-
def insert(self, name: str, oid: _OidArg, attr: int) -> None: ...
|
|
731
|
-
def remove(self, name: str) -> None: ...
|
|
732
|
-
def write(self) -> Oid: ...
|
|
733
|
-
def __len__(self) -> int: ...
|
|
734
|
-
|
|
735
|
-
@final
|
|
736
|
-
class Walker:
|
|
737
|
-
def hide(self, oid: _OidArg) -> None: ...
|
|
738
|
-
def push(self, oid: _OidArg) -> None: ...
|
|
739
|
-
def reset(self) -> None: ...
|
|
740
|
-
def simplify_first_parent(self) -> None: ...
|
|
741
|
-
def sort(self, mode: SortMode) -> None: ...
|
|
742
|
-
def __iter__(self) -> Iterator[Commit]: ... # Walker: ...
|
|
743
|
-
def __next__(self) -> Commit: ...
|
|
744
|
-
|
|
745
|
-
@final
|
|
746
|
-
class Worktree:
|
|
747
|
-
is_prunable: bool
|
|
748
|
-
name: str
|
|
749
|
-
path: str
|
|
750
|
-
def prune(self, force: bool = False) -> None: ...
|
|
751
|
-
|
|
752
|
-
def discover_repository(path: str, across_fs: bool = False, ceiling_dirs: str = ...) -> str: ...
|
|
753
|
-
def filter_register(name: str, filter_cls: type[Filter], priority: int = ...) -> None: ...
|
|
754
|
-
def filter_unregister(name: str) -> None: ...
|
|
755
|
-
def hash(data: bytes) -> Oid: ...
|
|
756
|
-
def hashfile(path: str) -> Oid: ...
|
|
757
|
-
def init_file_backend(path: str, flags: int = 0) -> object: ...
|
|
758
|
-
def option(opt: Option, *args: Any) -> int | str | tuple[int, int] | None: ...
|
|
759
|
-
def reference_is_valid_name(refname: str) -> bool: ...
|
|
760
|
-
def tree_entry_cmp(a: Object, b: Object) -> int: ...
|
|
761
|
-
def _cache_enums() -> None: ... # undocumented
|
|
762
|
-
|
|
763
|
-
_OidArg: TypeAlias = str | Oid
|