Add stubs for flake8-simplify (#6480)

This commit is contained in:
kasium
2021-12-03 13:25:29 +01:00
committed by GitHub
parent 9dc75772d3
commit 7a24e71a9b
2 changed files with 9 additions and 0 deletions

View File

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

View 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]: ...