mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
861c16ea5f
commit
d62fb3334b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user