mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add stubs for flake8-builtins (#6483)
This commit is contained in:
1
stubs/flake8-builtins/METADATA.toml
Normal file
1
stubs/flake8-builtins/METADATA.toml
Normal file
@@ -0,0 +1 @@
|
||||
version = "1.5.*"
|
||||
10
stubs/flake8-builtins/flake8_builtins.pyi
Normal file
10
stubs/flake8-builtins/flake8_builtins.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
import ast
|
||||
from typing import Any, Generator, Type
|
||||
|
||||
class BuiltinsChecker:
|
||||
name: str
|
||||
version: str
|
||||
def __init__(self, tree: ast.AST, filename: str) -> None: ...
|
||||
def run(self) -> Generator[tuple[int, int, str, Type[Any]], None, None]: ...
|
||||
|
||||
def __getattr__(name: str) -> Any: ... # incomplete (other attributes are normally not accessed)
|
||||
Reference in New Issue
Block a user