mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 17:18:30 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -7,9 +7,16 @@ from typing_extensions import Literal
|
||||
from _warnings import warn as warn, warn_explicit as warn_explicit
|
||||
|
||||
def showwarning(
|
||||
message: Union[Warning, str], category: Type[Warning], filename: str, lineno: int, file: Optional[TextIO] = ..., line: Optional[str] = ...
|
||||
message: Union[Warning, str],
|
||||
category: Type[Warning],
|
||||
filename: str,
|
||||
lineno: int,
|
||||
file: Optional[TextIO] = ...,
|
||||
line: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
def formatwarning(message: Union[Warning, str], category: Type[Warning], filename: str, lineno: int, line: Optional[str] = ...) -> str: ...
|
||||
def formatwarning(
|
||||
message: Union[Warning, str], category: Type[Warning], filename: str, lineno: int, line: Optional[str] = ...
|
||||
) -> str: ...
|
||||
def filterwarnings(
|
||||
action: str, message: str = ..., category: Type[Warning] = ..., module: str = ..., lineno: int = ..., append: bool = ...
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user