mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -38,5 +38,5 @@ class BaseFix:
|
||||
|
||||
class ConditionalFix(BaseFix, metaclass=ABCMeta):
|
||||
skip_on: ClassVar[str | None]
|
||||
def start_tree(self, __tree: Node, __filename: StrPath) -> None: ...
|
||||
def start_tree(self, tree: Node, filename: StrPath, /) -> None: ...
|
||||
def should_skip(self, node: Base) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user