mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Fix missing return type in pep8ext_naming (#7031)
This commit is contained in:
1 parent
9a89e09753
commit
7bc9c1625e
1 file changed
+2
-2
@@ -1,6 +1,6 @@
|
||||
import ast
|
||||
from argparse import Namespace
|
||||
from typing import Any
|
||||
from typing import Any, Generator
|
||||
|
||||
__version__: str
|
||||
|
||||
@@ -22,7 +22,7 @@ class NamingChecker:
|
||||
def add_options(cls, parser: Any) -> None: ...
|
||||
@classmethod
|
||||
def parse_options(cls, option: Namespace) -> None: ...
|
||||
def run(self): ...
|
||||
def run(self) -> Generator[tuple[int, int, str, type[Any]], None, None]: ...
|
||||
def __getattr__(self, name: str) -> Any: ... # incomplete (other attributes are normally not accessed)
|
||||
|
||||
def __getattr__(name: str) -> Any: ... # incomplete (other attributes are normally not accessed)
|
||||
Reference in new issue
Block a user