Open anci3ntr0ck opened 1 year ago
VSCode gives an error when using allure.step() as a context:
allure.step()
Adding overload functions for allure.step() should fix this...
_TFunc = TypeVar("_TFunc", bound=Callable[..., Any]) @overload def step(title: _TFunc) -> _TFunc: ... @overload def step(title: Any) -> StepContext: ...
Same here! I'm getting this Pylance warning:
Object of type "(...) -> Any" cannot be used with "with" because it does not implement __enter__Pylance(reportGeneralTypeIssues)
+1
I'm submitting a ...
What is the current behavior?
VSCode gives an error when using![image](https://github.com/allure-framework/allure-python/assets/55662947/a808477f-40f1-47ff-9919-c192ed7a930b)
allure.step()
as a context:Adding overload functions for
allure.step()
should fix this...Please tell us about your environment: