mypy passes with check_untyped_defs

This commit is contained in:
Anthony Sottile 2020-01-10 19:12:56 -08:00
parent ab19b94811
commit fa536a8693
25 changed files with 161 additions and 89 deletions

View file

@ -4,6 +4,7 @@ import math
import os
import subprocess
import sys
from typing import List
from pre_commit import parse_shebang
from pre_commit.util import cmd_output_b
@ -56,7 +57,7 @@ def partition(cmd, varargs, target_concurrency, _max_length=None):
cmd = tuple(cmd)
ret = []
ret_cmd = []
ret_cmd: List[str] = []
# Reversed so arguments are in order
varargs = list(reversed(varargs))