From bff077f85590495e7772d27935bbe79568c7e49f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 20 Mar 2025 15:23:20 -0700 Subject: [PATCH] style: Remove trailing whitespace in test_repo.py --- tests/basic/test_repo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/basic/test_repo.py b/tests/basic/test_repo.py index 39e5be46a..af315733a 100644 --- a/tests/basic/test_repo.py +++ b/tests/basic/test_repo.py @@ -420,14 +420,14 @@ class TestRepo(unittest.TestCase): fname = Path("test_file.txt") fname.write_text("initial content") raw_repo.git.add(str(fname)) - + # Do the initial commit raw_repo.git.commit("-m", "Initial commit") - + # Now create a pre-commit hook that always fails hooks_dir = Path(raw_repo.git_dir) / "hooks" hooks_dir.mkdir(exist_ok=True) - + pre_commit_hook = hooks_dir / "pre-commit" pre_commit_hook.write_text("#!/bin/sh\nexit 1\n") # Always fail pre_commit_hook.chmod(0o755) # Make executable