This commit is contained in:
Kovid Goyal 2025-01-14 10:03:00 +05:30
parent 50068c9d06
commit 55469a6ab6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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