mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
28 lines
769 B
Python
28 lines
769 B
Python
import builtins
|
|
from abc import abstractmethod
|
|
|
|
def __repr__(self) -> str: ...
|
|
def __str__(self) -> builtins.str: ...
|
|
def __repr__(self, /, foo) -> str: ...
|
|
def __repr__(self, *, foo) -> str: ...
|
|
|
|
class ShouldRemoveSingle:
|
|
def __str__(self) -> builtins.str: ... # Error: PYI029
|
|
|
|
class ShouldRemove:
|
|
def __repr__(self) -> str: ... # Error: PYI029
|
|
def __str__(self) -> builtins.str: ... # Error: PYI029
|
|
|
|
class NoReturnSpecified:
|
|
def __str__(self): ...
|
|
def __repr__(self): ...
|
|
|
|
class NonMatchingArgs:
|
|
def __str__(self, *, extra) -> builtins.str: ...
|
|
def __repr__(self, /, extra) -> str: ...
|
|
|
|
class MatchingArgsButAbstract:
|
|
@abstractmethod
|
|
def __str__(self) -> builtins.str: ...
|
|
@abstractmethod
|
|
def __repr__(self) -> str: ...
|