Mark pytest-lazy-fixture as completed (#9229)

This commit is contained in:
Nikita Sobolev
2022-11-20 17:37:55 +03:00
committed by GitHub
parent c10ed87f6e
commit b58d0df349
3 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
# Part of the pytest API, which is internal:
pytest_lazyfixture.pytest_.*
# Internal undocumented API:
pytest_lazyfixture.fillfixtures
pytest_lazyfixture.normalize_call
pytest_lazyfixture.normalize_metafunc_calls
pytest_lazyfixture.sorted_by_dependency
pytest_lazyfixture.copy_metafunc
# Compat:
pytest_lazyfixture.PY3

View File

@@ -1 +1,4 @@
version = "0.6.*"
[tool.stubtest]
ignore_missing_stub = false

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete
from collections.abc import Iterable
from typing import Any, overload
from typing_extensions import TypeGuard
class LazyFixture:
name: str
@@ -11,6 +11,4 @@ class LazyFixture:
def lazy_fixture(names: str) -> LazyFixture: ...
@overload
def lazy_fixture(names: Iterable[str]) -> list[LazyFixture] | Any: ...
def is_lazy_fixture(val: Any) -> bool: ...
def pytest_configure() -> None: ...
def __getattr__(name: str) -> Incomplete: ...
def is_lazy_fixture(val: object) -> TypeGuard[LazyFixture]: ...