From 49283737c5dca191f72d5d2bfd0776ee8ebc5615 Mon Sep 17 00:00:00 2001 From: Simon Segerblom Rex Date: Thu, 14 Mar 2024 14:30:14 +0100 Subject: [PATCH] Fix too long lines --- tests/commands/install_uninstall_test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/commands/install_uninstall_test.py b/tests/commands/install_uninstall_test.py index 0673ff2a..52cf63bf 100644 --- a/tests/commands/install_uninstall_test.py +++ b/tests/commands/install_uninstall_test.py @@ -111,7 +111,9 @@ 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) + os.symlink( + 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 assert hook.exists() @@ -119,7 +121,9 @@ 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) + os.symlink( + 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 assert not hook.exists()