mirror of https://github.com/astral-sh/ruff
14 lines
329 B
Python
14 lines
329 B
Python
__all__: list[str] # Error: PYI035
|
|
|
|
__all__: list[str] = ["foo"]
|
|
|
|
class Foo:
|
|
__all__: list[str]
|
|
__match_args__: tuple[str, ...] # Error: PYI035
|
|
__slots__: tuple[str, ...] # Error: PYI035
|
|
|
|
class Bar:
|
|
__all__: list[str] = ["foo"]
|
|
__match_args__: tuple[str, ...] = (1,)
|
|
__slots__: tuple[str, ...] = "foo"
|