Skip to content

Commit 7bc9c16

Browse files
authored
Fix missing return type in pep8ext_naming (#7031)
1 parent 9a89e09 commit 7bc9c16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/pep8-naming/pep8ext_naming.pyi

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ast
22
from argparse import Namespace
3-
from typing import Any
3+
from typing import Any, Generator
44

55
__version__: str
66

@@ -22,7 +22,7 @@ class NamingChecker:
2222
def add_options(cls, parser: Any) -> None: ...
2323
@classmethod
2424
def parse_options(cls, option: Namespace) -> None: ...
25-
def run(self): ...
25+
def run(self) -> Generator[tuple[int, int, str, type[Any]], None, None]: ...
2626
def __getattr__(self, name: str) -> Any: ... # incomplete (other attributes are normally not accessed)
2727

2828
def __getattr__(name: str) -> Any: ... # incomplete (other attributes are normally not accessed)

0 commit comments

Comments
 (0)