Remove simplejson from pyright's exclude (#8945)

This commit is contained in:
Nikita Sobolev
2022-10-20 15:22:15 +03:00
committed by GitHub
parent 8a7cb1396a
commit 4276136d7a
3 changed files with 7 additions and 7 deletions

View File

@@ -80,7 +80,6 @@
"stubs/requests",
"stubs/Send2Trash",
"stubs/setuptools",
"stubs/simplejson",
"stubs/slumber",
"stubs/SQLAlchemy",
"stubs/stripe",

View File

@@ -3,5 +3,5 @@ from typing import Any
class JSONDecoder:
def __init__(self, **kwargs: Any) -> None: ...
def decode(self, s: str, _w: Match[str], _PY3: bool): ...
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool): ...
def decode(self, s: str, _w: Match[str], _PY3: bool) -> Any: ...
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool) -> tuple[Any, int]: ...

View File

@@ -1,9 +1,10 @@
from typing import Any
from collections.abc import Iterator
from typing import Any, NoReturn
class JSONEncoder:
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def encode(self, o: Any): ...
def default(self, o: Any): ...
def iterencode(self, o: Any, _one_shot: bool): ...
def encode(self, o: Any) -> str: ...
def default(self, o: Any) -> NoReturn: ...
def iterencode(self, o: Any, _one_shot: bool) -> Iterator[str]: ...
class JSONEncoderForHTML(JSONEncoder): ...