mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update dependency pyright to v1.1.363 (#11919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ flake8-noqa==1.4.0 # must match .pre-commit-config.yaml
|
||||
flake8-pyi==24.4.1 # must match .pre-commit-config.yaml
|
||||
mypy==1.10.0
|
||||
pre-commit-hooks==4.5.0 # must match .pre-commit-config.yaml
|
||||
pyright==1.1.362
|
||||
pyright==1.1.363
|
||||
pytype==2024.4.11; platform_system != "Windows" and python_version < "3.12"
|
||||
ruff==0.3.7 # must match .pre-commit-config.yaml
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, NamedTuple
|
||||
|
||||
from psutil import _psutil_windows
|
||||
from psutil._common import (
|
||||
ENCODING as ENCODING,
|
||||
ENCODING_ERRS as ENCODING_ERRS,
|
||||
@@ -35,13 +36,14 @@ AF_LINK: int
|
||||
AddressFamily: Any
|
||||
TCP_STATUSES: Any
|
||||
|
||||
# These noqas workaround https://github.com/astral-sh/ruff/issues/10874
|
||||
class Priority(enum.IntEnum):
|
||||
ABOVE_NORMAL_PRIORITY_CLASS = ABOVE_NORMAL_PRIORITY_CLASS
|
||||
BELOW_NORMAL_PRIORITY_CLASS = BELOW_NORMAL_PRIORITY_CLASS
|
||||
HIGH_PRIORITY_CLASS = HIGH_PRIORITY_CLASS
|
||||
IDLE_PRIORITY_CLASS = IDLE_PRIORITY_CLASS
|
||||
NORMAL_PRIORITY_CLASS = NORMAL_PRIORITY_CLASS
|
||||
REALTIME_PRIORITY_CLASS = REALTIME_PRIORITY_CLASS
|
||||
ABOVE_NORMAL_PRIORITY_CLASS = _psutil_windows.ABOVE_NORMAL_PRIORITY_CLASS # noqa: F811
|
||||
BELOW_NORMAL_PRIORITY_CLASS = _psutil_windows.BELOW_NORMAL_PRIORITY_CLASS # noqa: F811
|
||||
HIGH_PRIORITY_CLASS = _psutil_windows.HIGH_PRIORITY_CLASS # noqa: F811
|
||||
IDLE_PRIORITY_CLASS = _psutil_windows.IDLE_PRIORITY_CLASS # noqa: F811
|
||||
NORMAL_PRIORITY_CLASS = _psutil_windows.NORMAL_PRIORITY_CLASS # noqa: F811
|
||||
REALTIME_PRIORITY_CLASS = _psutil_windows.REALTIME_PRIORITY_CLASS # noqa: F811
|
||||
|
||||
IOPRIO_VERYLOW: int
|
||||
IOPRIO_LOW: int
|
||||
|
||||
Reference in New Issue
Block a user