mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +00:00
13 lines
329 B
Python
13 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"
|