basedpyright 1.12.2 → 1.12.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/README.md +2 -2
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -1
- package/dist/typeshed-fallback/stdlib/_ast.pyi +661 -22
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/_stat.pyi +27 -13
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/_typeshed/importlib.pyi +18 -0
- package/dist/typeshed-fallback/stdlib/_weakref.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/array.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ast.pyi +160 -70
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/atexit.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/builtins.pyi +30 -8
- package/dist/typeshed-fallback/stdlib/calendar.pyi +29 -29
- package/dist/typeshed-fallback/stdlib/code.pyi +27 -8
- package/dist/typeshed-fallback/stdlib/concurrent/futures/_base.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/concurrent/futures/thread.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/contextvars.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/csv.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/dbm/__init__.pyi +9 -2
- package/dist/typeshed-fallback/stdlib/dbm/dumb.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/dbm/gnu.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/dbm/ndbm.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/difflib.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/dis.pyi +16 -1
- package/dist/typeshed-fallback/stdlib/distutils/archive_util.pyi +22 -7
- package/dist/typeshed-fallback/stdlib/distutils/ccompiler.pyi +37 -16
- package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +52 -19
- package/dist/typeshed-fallback/stdlib/distutils/command/bdist_msi.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/distutils/command/build.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/distutils/command/build_py.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/distutils/command/check.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/distutils/command/config.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/distutils/command/install.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/distutils/command/register.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/distutils/command/sdist.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/distutils/core.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/distutils/dep_util.pyi +14 -3
- package/dist/typeshed-fallback/stdlib/distutils/dir_util.pyi +20 -10
- package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +8 -5
- package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +35 -11
- package/dist/typeshed-fallback/stdlib/distutils/filelist.pyi +11 -3
- package/dist/typeshed-fallback/stdlib/distutils/spawn.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/distutils/sysconfig.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/distutils/text_file.pyi +7 -7
- package/dist/typeshed-fallback/stdlib/distutils/util.pyi +9 -5
- package/dist/typeshed-fallback/stdlib/faulthandler.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/filecmp.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/fileinput.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/functools.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/genericpath.pyi +7 -0
- package/dist/typeshed-fallback/stdlib/graphlib.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/gzip.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +11 -4
- package/dist/typeshed-fallback/stdlib/http/cookies.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/importlib/util.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/inspect.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/keyword.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +69 -42
- package/dist/typeshed-fallback/stdlib/mailbox.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/marshal.pyi +12 -4
- package/dist/typeshed-fallback/stdlib/math.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/queues.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ntpath.pyi +8 -1
- package/dist/typeshed-fallback/stdlib/opcode.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/optparse.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/pkgutil.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/posixpath.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/queue.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/random.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/re.pyi +20 -9
- package/dist/typeshed-fallback/stdlib/shelve.pyi +15 -2
- package/dist/typeshed-fallback/stdlib/shutil.pyi +38 -8
- package/dist/typeshed-fallback/stdlib/signal.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/socket.pyi +13 -0
- package/dist/typeshed-fallback/stdlib/stat.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/statistics.pyi +30 -1
- package/dist/typeshed-fallback/stdlib/subprocess.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +15 -19
- package/dist/typeshed-fallback/stdlib/syslog.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/tempfile.pyi +7 -3
- package/dist/typeshed-fallback/stdlib/threading.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/token.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +10 -3
- package/dist/typeshed-fallback/stdlib/types.pyi +20 -18
- package/dist/typeshed-fallback/stdlib/typing.pyi +75 -21
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +104 -83
- package/dist/typeshed-fallback/stdlib/unittest/case.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/urllib/parse.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/urllib/request.pyi +17 -10
- package/dist/typeshed-fallback/stdlib/venv/__init__.pyi +31 -3
- package/dist/typeshed-fallback/stdlib/warnings.pyi +13 -1
- package/dist/typeshed-fallback/stdlib/wsgiref/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Pillow/PIL/DdsImagePlugin.pyi +17 -17
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +29 -29
- package/dist/typeshed-fallback/stubs/Pillow/PIL/WalImageFile.pyi +2 -1
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_binary.pyi +13 -13
- package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +8 -3
- package/dist/typeshed-fallback/stubs/WebOb/webob/request.pyi +10 -3
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNType.pyi +2 -2
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerAction.pyi +8 -8
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/PredictionMode.pyi +3 -3
- package/dist/typeshed-fallback/stubs/assertpy/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/__init__.pyi +12 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/assertpy.pyi +70 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/base.pyi +21 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/collection.pyi +11 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/contains.pyi +16 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/date.pyi +11 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dict.pyi +12 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dynamic.pyi +7 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/exception.pyi +8 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +7 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/file.pyi +15 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/helpers.pyi +3 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/numeric.pyi +24 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/snapshot.pyi +6 -0
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/string.pyi +18 -0
- package/dist/typeshed-fallback/stubs/beautifulsoup4/bs4/element.pyi +15 -7
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +119 -61
- package/dist/typeshed-fallback/stubs/docker/docker/errors.pyi +3 -3
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +31 -20
- package/dist/typeshed-fallback/stubs/docker/docker/utils/json_stream.pyi +16 -8
- package/dist/typeshed-fallback/stubs/flake8/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/_compat.pyi +5 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/api/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/api/legacy.pyi +27 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/checker.pyi +56 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/defaults.pyi +12 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/discover_files.pyi +8 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/exceptions.pyi +24 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/formatting/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/formatting/_windows_color.pyi +1 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/formatting/base.pyi +24 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/formatting/default.pyi +29 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/main/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/main/application.pyi +29 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/main/cli.pyi +3 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/main/debug.pyi +5 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/main/options.pyi +12 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/options/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/options/aggregator.pyi +12 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/options/config.pyi +10 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/options/manager.pyi +71 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/options/parse_args.pyi +6 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/plugins/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/plugins/finder.pyi +48 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/plugins/pycodestyle.pyi +32 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/plugins/pyflakes.pyi +21 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/plugins/reporter.pyi +9 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/processor.pyi +72 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/statistics.pyi +28 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/style_guide.pyi +70 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/utils.pyi +25 -0
- package/dist/typeshed-fallback/stubs/flake8/flake8/violation.pyi +13 -0
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/bidi.pyi +5 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/drawing.pyi +5 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +15 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +2 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +45 -32
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +4 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/svg.pyi +0 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +2 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +4 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/adapters.pyi +1 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/v1/__init__.pyi +35 -23
- package/dist/typeshed-fallback/stubs/influxdb-client/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/exceptions.pyi +3 -1
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/rest.pyi +8 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +2 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +8 -6
- package/dist/typeshed-fallback/stubs/pyaudio/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/pyflakes/pyflakes/scripts/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/pyflakes/pyflakes/scripts/pyflakes.pyi +8 -0
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +1 -15
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +313 -314
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +2 -1
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +7 -1
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +4 -14
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +7 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +35 -35
- package/dist/typeshed-fallback/stubs/regex/regex/regex.pyi +10 -10
- package/dist/typeshed-fallback/stubs/requests/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +16 -9
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/_modified.pyi +16 -5
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/archive_util.pyi +25 -10
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +38 -16
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +58 -30
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_py.pyi +2 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_lib.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_scripts.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/upload.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dep_util.pyi +1 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +8 -5
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +14 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/sysconfig.pyi +4 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/util.pyi +8 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/build_meta.pyi +4 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_egg.pyi +9 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_ext.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install.pyi +3 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install_lib.pyi +10 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install_scripts.pyi +1 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/upload_docs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/expand.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/six/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/uWSGI/METADATA.toml +4 -1
- package/dist/typeshed-fallback/stubs/ujson/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/wurlitzer/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/wurlitzer/wurlitzer.pyi +48 -6
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from
|
|
3
|
+
from urllib3 import HTTPResponse
|
|
4
|
+
|
|
5
|
+
from ._sync.rest import RESTResponse
|
|
6
|
+
from .client.exceptions import InfluxDBError
|
|
4
7
|
|
|
5
8
|
class ApiException(InfluxDBError):
|
|
6
9
|
status: Incomplete
|
|
@@ -8,7 +11,10 @@ class ApiException(InfluxDBError):
|
|
|
8
11
|
body: Incomplete
|
|
9
12
|
headers: Incomplete
|
|
10
13
|
def __init__(
|
|
11
|
-
self,
|
|
14
|
+
self,
|
|
15
|
+
status: Incomplete | None = None,
|
|
16
|
+
reason: Incomplete | None = None,
|
|
17
|
+
http_resp: HTTPResponse | RESTResponse | None = None,
|
|
12
18
|
) -> None: ...
|
|
13
19
|
|
|
14
20
|
class _BaseRESTClient:
|
|
@@ -11,6 +11,8 @@ def ancestors(G: Graph[_Node], source: _Node) -> set[_Node]: ...
|
|
|
11
11
|
@_dispatch
|
|
12
12
|
def is_directed_acyclic_graph(G: Graph[_Node]) -> bool: ...
|
|
13
13
|
@_dispatch
|
|
14
|
+
def topological_generations(G: Graph[_Node]) -> Generator[list[_Node], None, None]: ...
|
|
15
|
+
@_dispatch
|
|
14
16
|
def topological_sort(G: Graph[_Node]) -> Generator[_Node, None, None]: ...
|
|
15
17
|
@_dispatch
|
|
16
18
|
def lexicographical_topological_sort(
|
|
@@ -222,7 +222,7 @@ class Process:
|
|
|
222
222
|
def resume(self) -> None: ...
|
|
223
223
|
def terminate(self) -> None: ...
|
|
224
224
|
def kill(self) -> None: ...
|
|
225
|
-
def wait(self, timeout:
|
|
225
|
+
def wait(self, timeout: float | None = None) -> int: ...
|
|
226
226
|
|
|
227
227
|
class Popen(Process):
|
|
228
228
|
def __init__(self, *args, **kwargs) -> None: ...
|
|
@@ -3,6 +3,7 @@ from _typeshed import Incomplete
|
|
|
3
3
|
from collections.abc import Iterable
|
|
4
4
|
from typing import Any, NamedTuple
|
|
5
5
|
|
|
6
|
+
from psutil import _psutil_windows
|
|
6
7
|
from psutil._common import (
|
|
7
8
|
ENCODING as ENCODING,
|
|
8
9
|
ENCODING_ERRS as ENCODING_ERRS,
|
|
@@ -35,13 +36,14 @@ AF_LINK: int
|
|
|
35
36
|
AddressFamily: Any
|
|
36
37
|
TCP_STATUSES: Any
|
|
37
38
|
|
|
39
|
+
# These noqas workaround https://github.com/astral-sh/ruff/issues/10874
|
|
38
40
|
class Priority(enum.IntEnum):
|
|
39
|
-
ABOVE_NORMAL_PRIORITY_CLASS = ABOVE_NORMAL_PRIORITY_CLASS
|
|
40
|
-
BELOW_NORMAL_PRIORITY_CLASS = BELOW_NORMAL_PRIORITY_CLASS
|
|
41
|
-
HIGH_PRIORITY_CLASS = HIGH_PRIORITY_CLASS
|
|
42
|
-
IDLE_PRIORITY_CLASS = IDLE_PRIORITY_CLASS
|
|
43
|
-
NORMAL_PRIORITY_CLASS = NORMAL_PRIORITY_CLASS
|
|
44
|
-
REALTIME_PRIORITY_CLASS = REALTIME_PRIORITY_CLASS
|
|
41
|
+
ABOVE_NORMAL_PRIORITY_CLASS = _psutil_windows.ABOVE_NORMAL_PRIORITY_CLASS # noqa: F811
|
|
42
|
+
BELOW_NORMAL_PRIORITY_CLASS = _psutil_windows.BELOW_NORMAL_PRIORITY_CLASS # noqa: F811
|
|
43
|
+
HIGH_PRIORITY_CLASS = _psutil_windows.HIGH_PRIORITY_CLASS # noqa: F811
|
|
44
|
+
IDLE_PRIORITY_CLASS = _psutil_windows.IDLE_PRIORITY_CLASS # noqa: F811
|
|
45
|
+
NORMAL_PRIORITY_CLASS = _psutil_windows.NORMAL_PRIORITY_CLASS # noqa: F811
|
|
46
|
+
REALTIME_PRIORITY_CLASS = _psutil_windows.REALTIME_PRIORITY_CLASS # noqa: F811
|
|
45
47
|
|
|
46
48
|
IOPRIO_VERYLOW: int
|
|
47
49
|
IOPRIO_LOW: int
|
|
File without changes
|
|
@@ -67,6 +67,7 @@ GIT_CHECKOUT_USE_OURS: int
|
|
|
67
67
|
GIT_CHECKOUT_USE_THEIRS: int
|
|
68
68
|
GIT_CONFIG_HIGHEST_LEVEL: int
|
|
69
69
|
GIT_CONFIG_LEVEL_APP: int
|
|
70
|
+
GIT_CONFIG_LEVEL_WORKTREE: int
|
|
70
71
|
GIT_CONFIG_LEVEL_GLOBAL: int
|
|
71
72
|
GIT_CONFIG_LEVEL_LOCAL: int
|
|
72
73
|
GIT_CONFIG_LEVEL_PROGRAMDATA: int
|
|
@@ -175,11 +176,6 @@ GIT_OBJECT_OFS_DELTA: int
|
|
|
175
176
|
GIT_OBJECT_REF_DELTA: int
|
|
176
177
|
GIT_OBJECT_TAG: int
|
|
177
178
|
GIT_OBJECT_TREE: int
|
|
178
|
-
GIT_OBJ_ANY: int
|
|
179
|
-
GIT_OBJ_BLOB: int
|
|
180
|
-
GIT_OBJ_COMMIT: int
|
|
181
|
-
GIT_OBJ_TAG: int
|
|
182
|
-
GIT_OBJ_TREE: int
|
|
183
179
|
GIT_OID_HEXSZ: int
|
|
184
180
|
GIT_OID_HEX_ZERO: str
|
|
185
181
|
GIT_OID_MINPREFIXLEN: int
|
|
@@ -217,16 +213,9 @@ GIT_OPT_SET_WINDOWS_SHAREMODE: int
|
|
|
217
213
|
GIT_REFERENCES_ALL: int
|
|
218
214
|
GIT_REFERENCES_BRANCHES: int
|
|
219
215
|
GIT_REFERENCES_TAGS: int
|
|
220
|
-
GIT_REF_INVALID: int
|
|
221
|
-
GIT_REF_LISTALL: int
|
|
222
|
-
GIT_REF_OID: int
|
|
223
|
-
GIT_REF_SYMBOLIC: int
|
|
224
216
|
GIT_RESET_HARD: int
|
|
225
217
|
GIT_RESET_MIXED: int
|
|
226
218
|
GIT_RESET_SOFT: int
|
|
227
|
-
GIT_REVPARSE_MERGE_BASE: int
|
|
228
|
-
GIT_REVPARSE_RANGE: int
|
|
229
|
-
GIT_REVPARSE_SINGLE: int
|
|
230
219
|
GIT_REVSPEC_MERGE_BASE: int
|
|
231
220
|
GIT_REVSPEC_RANGE: int
|
|
232
221
|
GIT_REVSPEC_SINGLE: int
|
|
@@ -287,10 +276,8 @@ _GIT_OBJ_TREE: TypeAlias = Literal[2]
|
|
|
287
276
|
class Object:
|
|
288
277
|
_pointer: bytes
|
|
289
278
|
filemode: FileMode
|
|
290
|
-
hex: str
|
|
291
279
|
id: Oid
|
|
292
280
|
name: str | None
|
|
293
|
-
oid: Oid
|
|
294
281
|
raw_name: bytes | None
|
|
295
282
|
short_id: str
|
|
296
283
|
type: Literal[_GIT_OBJ_COMMIT, _GIT_OBJ_TREE, _GIT_OBJ_TAG, _GIT_OBJ_BLOB]
|
|
@@ -526,7 +513,6 @@ class OdbBackendPack(OdbBackend):
|
|
|
526
513
|
|
|
527
514
|
@final
|
|
528
515
|
class Oid:
|
|
529
|
-
hex: str
|
|
530
516
|
raw: bytes
|
|
531
517
|
def __init__(self, raw: bytes = ..., hex: str = ...) -> None: ...
|
|
532
518
|
def __eq__(self, other: object) -> bool: ...
|