mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Remove unnecessary forward annotations
This commit is contained in:
parent
78f406af8a
commit
fa8d022813
15 changed files with 17 additions and 17 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue