Skip to content

Commit 3398892

Browse files
committed
fix: adjust Generator type annotation
1 parent 0357dec commit 3398892

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
import typer
1515
from cookiecutter.main import cookiecutter
16-
from cookiecutter.utils import rmtree
1716
from cookiecutter.utils import work_in
1817
from pygments.lexers import q
1918

@@ -49,7 +48,7 @@ def in_new_demo(
4948
demo_name: str,
5049
no_cache: bool,
5150
**kwargs: Any
52-
) -> Generator[Path]:
51+
) -> Generator[Path, None, None]:
5352
"""Returns a context manager for working within a new demo."""
5453
demo_path: Path = generate_demo_project(
5554
repo_folder=repo_folder,

0 commit comments

Comments
 (0)