mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
Flake8 fixes (#2549)
* Fix over-indented continuation lines * Fix under-indented continuation lines * Fix whitespace around default operator problems * Limit line lengths * Fix inconsistent files
This commit is contained in:
committed by
Jelle Zijlstra
parent
f362cf47fa
commit
006a79220f
@@ -36,30 +36,26 @@ class TextWrapper(object):
|
||||
def wrap(self, text: AnyStr) -> List[AnyStr]: ...
|
||||
def fill(self, text: AnyStr) -> AnyStr: ...
|
||||
|
||||
def wrap(
|
||||
text: AnyStr,
|
||||
width: int = ...,
|
||||
initial_indent: AnyStr = ...,
|
||||
subsequent_indent: AnyStr = ...,
|
||||
expand_tabs: bool = ...,
|
||||
replace_whitespace: bool = ...,
|
||||
fix_sentence_endings: bool = ...,
|
||||
break_long_words: bool = ...,
|
||||
drop_whitespace: bool = ...,
|
||||
break_on_hyphens: bool = ...) -> List[AnyStr]:
|
||||
...
|
||||
def wrap(text: AnyStr,
|
||||
width: int = ...,
|
||||
initial_indent: AnyStr = ...,
|
||||
subsequent_indent: AnyStr = ...,
|
||||
expand_tabs: bool = ...,
|
||||
replace_whitespace: bool = ...,
|
||||
fix_sentence_endings: bool = ...,
|
||||
break_long_words: bool = ...,
|
||||
drop_whitespace: bool = ...,
|
||||
break_on_hyphens: bool = ...) -> List[AnyStr]: ...
|
||||
|
||||
def fill(
|
||||
text: AnyStr,
|
||||
width: int =...,
|
||||
initial_indent: AnyStr = ...,
|
||||
subsequent_indent: AnyStr = ...,
|
||||
expand_tabs: bool = ...,
|
||||
replace_whitespace: bool = ...,
|
||||
fix_sentence_endings: bool = ...,
|
||||
break_long_words: bool = ...,
|
||||
drop_whitespace: bool = ...,
|
||||
break_on_hyphens: bool = ...) -> AnyStr:
|
||||
...
|
||||
def fill(text: AnyStr,
|
||||
width: int = ...,
|
||||
initial_indent: AnyStr = ...,
|
||||
subsequent_indent: AnyStr = ...,
|
||||
expand_tabs: bool = ...,
|
||||
replace_whitespace: bool = ...,
|
||||
fix_sentence_endings: bool = ...,
|
||||
break_long_words: bool = ...,
|
||||
drop_whitespace: bool = ...,
|
||||
break_on_hyphens: bool = ...) -> AnyStr: ...
|
||||
|
||||
def dedent(text: AnyStr) -> AnyStr: ...
|
||||
|
||||
Reference in New Issue
Block a user