diff --git a/stubs/flake8-simplify/METADATA.toml b/stubs/flake8-simplify/METADATA.toml new file mode 100644 index 000000000..c562b6633 --- /dev/null +++ b/stubs/flake8-simplify/METADATA.toml @@ -0,0 +1 @@ +version = "0.14.*" diff --git a/stubs/flake8-simplify/flake8_simplify.pyi b/stubs/flake8-simplify/flake8_simplify.pyi new file mode 100644 index 000000000..ff5d229fc --- /dev/null +++ b/stubs/flake8-simplify/flake8_simplify.pyi @@ -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]: ...