diff --git a/setup/check.py b/setup/check.py index d4063ae1e6..38fe5c7fc4 100644 --- a/setup/check.py +++ b/setup/check.py @@ -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