Add stubs for flake8-builtins (#6483)

This commit is contained in:
kasium
2021-12-03 14:44:49 +01:00
committed by GitHub
parent 050a77d8e3
commit 2d07556e09
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1 @@
version = "1.5.*"

View 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)