drop ellipsis assignments from module vars, classvars and instance attrs (#5914)

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
Oleg Höfling
2021-08-11 19:26:58 +02:00
committed by GitHub
parent 6c41e3cead
commit 64f481189f
34 changed files with 325 additions and 325 deletions

View File

@@ -1,27 +1,27 @@
from typing import Callable, Pattern
class TextWrapper:
width: int = ...
initial_indent: str = ...
subsequent_indent: str = ...
expand_tabs: bool = ...
replace_whitespace: bool = ...
fix_sentence_endings: bool = ...
drop_whitespace: bool = ...
break_long_words: bool = ...
break_on_hyphens: bool = ...
tabsize: int = ...
max_lines: int | None = ...
placeholder: str = ...
width: int
initial_indent: str
subsequent_indent: str
expand_tabs: bool
replace_whitespace: bool
fix_sentence_endings: bool
drop_whitespace: bool
break_long_words: bool
break_on_hyphens: bool
tabsize: int
max_lines: int | None
placeholder: str
# Attributes not present in documentation
sentence_end_re: Pattern[str] = ...
wordsep_re: Pattern[str] = ...
wordsep_simple_re: Pattern[str] = ...
whitespace_trans: str = ...
unicode_whitespace_trans: dict[int, int] = ...
uspace: int = ...
x: str = ... # leaked loop variable
sentence_end_re: Pattern[str]
wordsep_re: Pattern[str]
wordsep_simple_re: Pattern[str]
whitespace_trans: str
unicode_whitespace_trans: dict[int, int]
uspace: int
x: str # leaked loop variable
def __init__(
self,
width: int = ...,