Remove unnecessary forward annotations

This commit is contained in:
Anthony Sottile
2020-02-07 08:32:39 -08:00
parent 78f406af8a
commit fa8d022813
15 changed files with 17 additions and 17 deletions

View File

@@ -145,7 +145,7 @@ def py_interface(
) -> Tuple[
Callable[[Prefix, str], ContextManager[None]],
Callable[[Prefix, str], bool],
Callable[['Hook', Sequence[str], bool], Tuple[int, bytes]],
Callable[[Hook, Sequence[str], bool], Tuple[int, bytes]],
Callable[[Prefix, str, Sequence[str]], None],
]:
@contextlib.contextmanager
@@ -168,7 +168,7 @@ def py_interface(
return retcode == 0
def run_hook(
hook: 'Hook',
hook: Hook,
file_args: Sequence[str],
color: bool,
) -> Tuple[int, bytes]: