mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Refactored how the installer works
This commit is contained in:
parent
8b0247e17f
commit
abea886a3d
8 changed files with 105 additions and 70 deletions
|
|
@ -16,7 +16,9 @@ def test_get_root(empty_git_dir):
|
|||
|
||||
|
||||
def test_get_pre_commit_path(empty_git_dir):
|
||||
assert git.get_pre_commit_path() == '{0}/.git/hooks/pre-commit'.format(empty_git_dir)
|
||||
assert git.get_pre_commit_path() == '{0}/.git/hooks/pre-commit'.format(
|
||||
empty_git_dir,
|
||||
)
|
||||
|
||||
|
||||
def test_create_pre_commit(empty_git_dir):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue