mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add stubs for flake8-simplify (#6480)
This commit is contained in:
1
stubs/flake8-simplify/METADATA.toml
Normal file
1
stubs/flake8-simplify/METADATA.toml
Normal file
@@ -0,0 +1 @@
|
||||
version = "0.14.*"
|
||||
8
stubs/flake8-simplify/flake8_simplify.pyi
Normal file
8
stubs/flake8-simplify/flake8_simplify.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
import ast
|
||||
from typing import Any, Generator, Type
|
||||
|
||||
class Plugin:
|
||||
name: str
|
||||
version: str
|
||||
def __init__(self, tree: ast.AST) -> None: ...
|
||||
def run(self) -> Generator[tuple[int, int, str, Type[Any]], None, None]: ...
|
||||
Reference in New Issue
Block a user