From 99b9676d451733bd2443a6fe010a528b5b98b986 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:30:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/commands/install_uninstall_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/commands/install_uninstall_test.py b/tests/commands/install_uninstall_test.py index 52cf63bf..58c4e41f 100644 --- a/tests/commands/install_uninstall_test.py +++ b/tests/commands/install_uninstall_test.py @@ -112,7 +112,7 @@ def test_install_hooks_dead_symlink(in_git_dir, store): def test_install_hooks_symlink_inside_git_repo(in_git_dir, store): hooks_dir = in_git_dir.join('.git/hooks') os.symlink( - in_git_dir.join('hooks').ensure_dir().strpath, hooks_dir.strpath + in_git_dir.join('hooks').ensure_dir().strpath, hooks_dir.strpath, ) hook = hooks_dir.join('pre-commit') assert install(C.CONFIG_FILE, store, hook_types=['pre-commit']) == 0 @@ -122,7 +122,7 @@ def test_install_hooks_symlink_inside_git_repo(in_git_dir, store): def test_install_hooks_symlink_outisde_git_repo(in_git_dir, store): hooks_dir = in_git_dir.join('.git/hooks') os.symlink( - in_git_dir.join('../hooks').ensure_dir().strpath, hooks_dir.strpath + in_git_dir.join('../hooks').ensure_dir().strpath, hooks_dir.strpath, ) hook = hooks_dir.join('pre-commit') assert install(C.CONFIG_FILE, store, hook_types=['pre-commit']) != 0