From f53e2f91de59846e15cafa4e07b02ecf8372ef97 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 17:03:12 +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))