mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
This commit is contained in:
parent
5791d84236
commit
1dfcf10036
14 changed files with 199 additions and 199 deletions
|
|
@ -9,8 +9,8 @@ from testing.util import get_head_sha
|
|||
|
||||
|
||||
@pytest.yield_fixture
|
||||
def manifest(store, tmpdir_factory):
|
||||
path = make_repo(tmpdir_factory, 'script_hooks_repo')
|
||||
def manifest(store, tempdir_factory):
|
||||
path = make_repo(tempdir_factory, 'script_hooks_repo')
|
||||
head_sha = get_head_sha(path)
|
||||
repo_path_getter = store.get_repo_path_getter(path, head_sha)
|
||||
yield Manifest(repo_path_getter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue