mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Update pyright to 1.1.278 (#9077)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -100,7 +100,7 @@ jobs:
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
fail-fast: false
|
||||
env:
|
||||
PYRIGHT_VERSION: 1.1.273 # Must match pyright_test.py.
|
||||
PYRIGHT_VERSION: 1.1.278 # Must match pyright_test.py.
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: jakebailey/pyright-action@v1
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import pyexpat.errors as errors
|
||||
import pyexpat.model as model
|
||||
from _typeshed import ReadableBuffer, SupportsRead
|
||||
from collections.abc import Callable
|
||||
from pyexpat import errors as errors, model as model
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias, final
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
import xml.parsers as parsers
|
||||
from xml import parsers as parsers
|
||||
|
||||
@@ -1 +1 @@
|
||||
import xml.parsers.expat as expat
|
||||
from xml.parsers import expat as expat
|
||||
|
||||
@@ -5,7 +5,6 @@ from typing import Optional
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from ._canonical_names import all_modifiers as all_modifiers, sided_modifiers as sided_modifiers
|
||||
from ._generic import GenericListener as _GenericListener
|
||||
from ._keyboard_event import KEY_DOWN as KEY_DOWN, KEY_UP as KEY_UP, KeyboardEvent as KeyboardEvent
|
||||
|
||||
_Key: TypeAlias = int | str
|
||||
|
||||
@@ -8,9 +8,11 @@ from typing_extensions import Literal, TypeAlias
|
||||
import pkg_resources
|
||||
from PyInstaller import HOMEPATH as HOMEPATH
|
||||
from PyInstaller.depend.imphookapi import PostGraphAPI
|
||||
from PyInstaller.utils.hooks import conda as conda_support
|
||||
from PyInstaller.utils.hooks import conda
|
||||
from PyInstaller.utils.hooks.win32 import get_pywin32_module_file_attribute as get_pywin32_module_file_attribute
|
||||
|
||||
conda_support = conda
|
||||
|
||||
_Environ: TypeAlias = SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]] | Mapping[str, str]
|
||||
|
||||
PY_IGNORE_EXTENSIONS: set[str]
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
import six.moves.urllib.error as error
|
||||
import six.moves.urllib.parse as parse
|
||||
import six.moves.urllib.request as request
|
||||
import six.moves.urllib.response as response
|
||||
import six.moves.urllib.robotparser as robotparser
|
||||
from six.moves.urllib import error as error, parse as parse, request as request, response as response, robotparser as robotparser
|
||||
|
||||
@@ -6,7 +6,7 @@ import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
_PYRIGHT_VERSION = "1.1.273" # Must match .github/workflows/tests.yml.
|
||||
_PYRIGHT_VERSION = "1.1.278" # Must match .github/workflows/tests.yml.
|
||||
_WELL_KNOWN_FILE = Path("tests", "pyright_test.py")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user