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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue