mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
@@ -70,7 +70,7 @@ class HTMLRepr(Repr):
|
||||
def repr_unicode(self, x: AnyStr, level: complex) -> str: ...
|
||||
|
||||
class HTMLDoc(Doc):
|
||||
_repr_instance: HTMLRepr = ...
|
||||
_repr_instance: HTMLRepr
|
||||
repr = _repr_instance.repr
|
||||
escape = _repr_instance.escape
|
||||
def page(self, title: str, contents: str) -> str: ...
|
||||
@@ -154,7 +154,7 @@ class TextRepr(Repr):
|
||||
def repr_instance(self, x: object, level: complex) -> str: ...
|
||||
|
||||
class TextDoc(Doc):
|
||||
_repr_instance: TextRepr = ...
|
||||
_repr_instance: TextRepr
|
||||
repr = _repr_instance.repr
|
||||
def bold(self, text: str) -> str: ...
|
||||
def indent(self, text: str, prefix: str = " ") -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user