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

@@ -72,7 +72,7 @@ def no_install(
raise AssertionError('This type is not installable')
def target_concurrency(hook: 'Hook') -> int:
def target_concurrency(hook: Hook) -> int:
if hook.require_serial or 'PRE_COMMIT_NO_CONCURRENCY' in os.environ:
return 1
else:
@@ -97,7 +97,7 @@ def _shuffled(seq: Sequence[str]) -> List[str]:
def run_xargs(
hook: 'Hook',
hook: Hook,
cmd: Tuple[str, ...],
file_args: Sequence[str],
**kwargs: Any,