mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 01:23:24 +08:00
Fixing flake8 E202, E203, E225 errors
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple
|
||||
|
||||
from opcode import (hasconst, hasname, hasjrel, hasjabs, haslocal, hascompare,
|
||||
hasfree, hasnargs, cmp_op, opname , opmap , HAVE_ARGUMENT,
|
||||
hasfree, hasnargs, cmp_op, opname, opmap, HAVE_ARGUMENT,
|
||||
EXTENDED_ARG, stack_effect)
|
||||
|
||||
import types
|
||||
|
||||
@@ -24,7 +24,7 @@ def find(domain: str, localedir: str = ..., languages: List[str] = ...,
|
||||
|
||||
def translation(domain: str, localedir: str = ..., languages: List[str] = ...,
|
||||
class_: Callable[[IO[str]], NullTranslations] = ...,
|
||||
fallback: bool =... , codeset: Any = ...) -> NullTranslations: ...
|
||||
fallback: bool =..., codeset: Any = ...) -> NullTranslations: ...
|
||||
|
||||
def install(domain: str, localedir: str = ..., codeset: Any = ...,
|
||||
names: List[str] = ...): ...
|
||||
|
||||
@@ -67,7 +67,7 @@ version = ... # type: str
|
||||
def adapt(obj, protocol, alternate): ...
|
||||
def complete_statement(sql: str) -> bool: ...
|
||||
def connect(database: Union[bytes, AnyStr],
|
||||
timeout: float = ... ,
|
||||
timeout: float = ...,
|
||||
detect_types: int = ...,
|
||||
isolation_level: Union[str, None] = ...,
|
||||
check_same_thread: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user