Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pytest-lazyfixture stubs #5745

Merged
merged 15 commits into from
Jul 9, 2021
1 change: 1 addition & 0 deletions stubs/pytest-lazyfixture/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = "0.6"
10 changes: 10 additions & 0 deletions stubs/pytest-lazyfixture/pytest-lazy-fixture.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from typing import Any, Iterable, List

class LazyFixture:
name: str
def __init__(self, name: str) -> None: ...
def __eq__(self, other: LazyFixture) -> bool: ...

def lazy_fixture(names: str | Iterable[str]) -> LazyFixture | List[LazyFixture]: ...
kasium marked this conversation as resolved.
Show resolved Hide resolved
def is_lazy_fixture(val: Any) -> bool: ...
def pytest_configure() -> None: ...