Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
Федосов Никита committed Sep 20, 2024
1 parent c90b22f commit 5c77e9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions allure-python-commons/src/_allure.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ def manual():


@overload
def step(title: str) -> "StepContext":
...
def step(title: str) -> "StepContext": ...


@overload
def step(title: _TFunc) -> _TFunc:
...
def step(title: _TFunc) -> _TFunc: ...


def step(title: Union[str, _TFunc]) -> Union["StepContext", _TFunc]:
if callable(title):
Expand Down

0 comments on commit 5c77e9f

Please sign in to comment.