mirror of https://github.com/zulip/zulip.git
lint: Fix mypy error in check_pyflakes annotations.
Introduced in 78a93b8d9e
.
This commit is contained in:
parent
e67fa36803
commit
4300683bca
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue