Skip to content

Commit

Permalink
Merge pull request #1913 from timbrel/mypy-fault
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed May 2, 2024
2 parents ecb50b0 + 29c2006 commit fbaaf13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def text_command(fn): # noqa: F811

def text_command(fn): # noqa: F811
# type: (Union[Callable[Con[View, P], T], Callable[Con[View, Edit, P], T]]) -> Callable[Con[View, P], Optional[T]]
@wraps(fn)
@wraps(fn) # type: ignore[arg-type]
def decorated(view, *args, **kwargs):
# type: (sublime.View, P.args, P.kwargs) -> Optional[T]
return run_as_text_command(fn, view, *args, **kwargs)
Expand Down

0 comments on commit fbaaf13

Please sign in to comment.