mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:33:42 +02:00
...
This commit is contained in:
parent
861c16ea5f
commit
d62fb3334b
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def run(self, opts):
|
|||
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…
Reference in a new issue