lint: Fix mypy error in check_pyflakes annotations.

Introduced in 78a93b8d9e.
This commit is contained in:
Tim Abbott 2018-08-07 09:59:14 -07:00
parent e67fa36803
commit 4300683bca
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import absolute_import from __future__ import absolute_import
import argparse
import subprocess import subprocess
from zulint.printer import print_err, colors from zulint.printer import print_err, colors
@ -32,7 +33,7 @@ def suppress_line(line: str) -> bool:
return False return False
def check_pyflakes(files, options): def check_pyflakes(files, options):
# type: (List[str], Dict[str, Any]) -> bool # type: (List[str], argparse.Namespace) -> bool
if len(files) == 0: if len(files) == 0:
return False return False
failed = False failed = False