mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Remove unnecessary = ...s; bump pyright test dependency to 1.1.301 (#9972)
This commit is contained in:
@@ -62,4 +62,4 @@ all = true
|
||||
disable_all_dunder_policy = true
|
||||
|
||||
[tool.typeshed]
|
||||
pyright_version = "1.1.299"
|
||||
pyright_version = "1.1.301"
|
||||
|
||||
@@ -227,7 +227,7 @@ if sys.version_info >= (3, 11):
|
||||
)
|
||||
else:
|
||||
Self: _SpecialForm
|
||||
Never: _SpecialForm = ...
|
||||
Never: _SpecialForm
|
||||
def reveal_type(__obj: _T) -> _T: ...
|
||||
def assert_never(__arg: Never) -> Never: ...
|
||||
def assert_type(__val: _T, __typ: Any) -> _T: ...
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
import sys
|
||||
from typing import ClassVar
|
||||
|
||||
if sys.platform == "win32":
|
||||
from . import win32
|
||||
|
||||
class WinColor:
|
||||
BLACK: int = ...
|
||||
BLUE: int = ...
|
||||
GREEN: int = ...
|
||||
CYAN: int = ...
|
||||
RED: int = ...
|
||||
MAGENTA: int = ...
|
||||
YELLOW: int = ...
|
||||
GREY: int = ...
|
||||
BLACK: ClassVar[int]
|
||||
BLUE: ClassVar[int]
|
||||
GREEN: ClassVar[int]
|
||||
CYAN: ClassVar[int]
|
||||
RED: ClassVar[int]
|
||||
MAGENTA: ClassVar[int]
|
||||
YELLOW: ClassVar[int]
|
||||
GREY: ClassVar[int]
|
||||
|
||||
class WinStyle:
|
||||
NORMAL: int = ...
|
||||
BRIGHT: int = ...
|
||||
BRIGHT_BACKGROUND: int = ...
|
||||
NORMAL: ClassVar[int]
|
||||
BRIGHT: ClassVar[int]
|
||||
BRIGHT_BACKGROUND: ClassVar[int]
|
||||
|
||||
class WinTerm:
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user