mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-14 12:19:26 -06:00
Remove unnecessary forward annotations
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user