mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
50068c9d06
commit
55469a6ab6
@ -110,7 +110,7 @@ class Check(Command):
|
||||
return cp.stdout.decode('utf-8') or 'Fixed 0 errors.'
|
||||
|
||||
def perform_pep8_git_commit(self):
|
||||
return subprocess.run(['git', 'commit', '--all', '-m pep8']).returncode != 0
|
||||
return subprocess.run(['git', 'commit', '--all', '-m', 'pep8']).returncode != 0
|
||||
|
||||
def check_errors_remain(self):
|
||||
return subprocess.run(['ruff', 'check', '--statistics']).returncode != 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user