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:
renovate[bot]
2024-05-15 21:11:21 -04:00
committed by GitHub
parent 1c2d0230fa
commit 5fc866f9fd
2 changed files with 9 additions and 7 deletions

View File

@@ -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

View File

@@ -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