This commit is contained in:
Kovid Goyal 2015-09-04 09:00:17 +05:30
parent 861c16ea5f
commit d62fb3334b

View File

@ -62,7 +62,7 @@ class Check(Command):
errors = False
ext = os.path.splitext(f)[1]
if ext in {'.py', '.recipe'}:
p = subprocess.Popen(['flake8', '--ignore=E,W', f])
p = subprocess.Popen(['flake8-python2', '--ignore=E,W', f])
if p.wait() != 0:
errors = True
else: