Skip to content

Commit 81b3647

Browse files
committed
flake8 (indentation & extra spaces)
1 parent d975fb5 commit 81b3647

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

stdlib/3/asyncio/base_events.pyi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ class BaseEventLoop(AbstractEventLoop):
6262
def getnameinfo(self, sockaddr: tuple, flags: int = ...) -> Generator[Any, None, Tuple[str, int]]: ...
6363
if sys.version_info >= (3, 7):
6464
async def sock_sendfile(self, sock: socket, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *,
65-
fallback: bool = ...) -> int: ...
65+
fallback: bool = ...) -> int: ...
6666
@overload
6767
async def create_connection(self, protocol_factory: _ProtocolFactory, host: str = ..., port: int = ..., *,
6868
ssl: _SSLContext = ..., family: int = ..., proto: int = ..., flags: int = ...,
6969
sock: None = ..., local_addr: Optional[str] = ..., server_hostname: Optional[str] = ...,
70-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
70+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
7171
@overload
7272
async def create_connection(self, protocol_factory: _ProtocolFactory, host: None = ..., port: None = ..., *,
7373
ssl: _SSLContext = ..., family: int = ..., proto: int = ..., flags: int = ...,
7474
sock: socket, local_addr: None = ..., server_hostname: Optional[str] = ...,
75-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
75+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
7676
@overload
7777
async def create_server(self, protocol_factory: _ProtocolFactory, host: Optional[Union[str, Sequence[str]]] = ...,
7878
port: int = ..., *, family: int = ..., flags: int = ..., sock: None = ..., backlog: int = ...,
@@ -90,12 +90,12 @@ class BaseEventLoop(AbstractEventLoop):
9090
backlog: int = ..., ssl: _SSLContext = ..., ssl_handshake_timeout: Optional[float] = ...,
9191
start_serving: bool = ...) -> AbstractServer: ...
9292
async def connect_accepted_socket(self, protocol_factory: _ProtocolFactory, sock: socket, *, ssl: _SSLContext = ...,
93-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
93+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
9494
async def sendfile(self, transport: BaseTransport, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *,
95-
fallback: bool = ...) -> int: ...
95+
fallback: bool = ...) -> int: ...
9696
async def start_tls(self, transport: BaseTransport, protocol: BaseProtocol, sslcontext: ssl.SSLContext, *,
97-
server_side: bool = ..., server_hostname: Optional[str] = ...,
98-
ssl_handshake_timeout: Optional[float] = ...) -> BaseTransport: ...
97+
server_side: bool = ..., server_hostname: Optional[str] = ...,
98+
ssl_handshake_timeout: Optional[float] = ...) -> BaseTransport: ...
9999
else:
100100
@overload
101101
@coroutine

stdlib/3/asyncio/events.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,19 @@ class AbstractEventLoop(metaclass=ABCMeta):
112112
if sys.version_info >= (3, 7):
113113
@abstractmethod
114114
async def sock_sendfile(self, sock: socket, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *,
115-
fallback: bool = ...) -> int: ...
115+
fallback: bool = ...) -> int: ...
116116
@overload
117117
@abstractmethod
118118
async def create_connection(self, protocol_factory: _ProtocolFactory, host: str = ..., port: int = ..., *,
119119
ssl: _SSLContext = ..., family: int = ..., proto: int = ..., flags: int = ...,
120120
sock: None = ..., local_addr: Optional[str] = ..., server_hostname: Optional[str] = ...,
121-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
121+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
122122
@overload
123123
@abstractmethod
124124
async def create_connection(self, protocol_factory: _ProtocolFactory, host: None = ..., port: None = ..., *,
125125
ssl: _SSLContext = ..., family: int = ..., proto: int = ..., flags: int = ...,
126126
sock: socket, local_addr: None = ..., server_hostname: Optional[str] = ...,
127-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
127+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
128128
@overload
129129
@abstractmethod
130130
async def create_server(self, protocol_factory: _ProtocolFactory, host: Optional[Union[str, Sequence[str]]] = ...,
@@ -147,7 +147,7 @@ class AbstractEventLoop(metaclass=ABCMeta):
147147
start_serving: bool = ...) -> AbstractServer: ...
148148
@abstractmethod
149149
async def connect_accepted_socket(self, protocol_factory: _ProtocolFactory, sock: socket, *, ssl: _SSLContext = ...,
150-
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
150+
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
151151
@abstractmethod
152152
async def sendfile(self, transport: BaseTransport, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *,
153153
fallback: bool = ...) -> int: ...

0 commit comments

Comments
 (0)