From 9575c5d67c1afa1b49649c0d8bbf43a0f821ee58 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Jun 2023 18:10:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pyscaffoldext/cookiecutter/extension.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pyscaffoldext/cookiecutter/extension.py b/src/pyscaffoldext/cookiecutter/extension.py index 44dd1b7..c851956 100644 --- a/src/pyscaffoldext/cookiecutter/extension.py +++ b/src/pyscaffoldext/cookiecutter/extension.py @@ -112,7 +112,6 @@ def create_cookiecutter(struct: Structure, opts: ScaffoldOpts) -> ActionParams: logger.report("run", "cookiecutter " + opts["cookiecutter"]) if not opts.get("pretend"): - with fs.chdir(opts["project_path"].resolve().parent): cookiecutter(template, no_input=True, extra_context=parameters(opts))