Skip to content

Commit

Permalink
chore: Fix codesmell
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 22, 2022
1 parent ec61d70 commit d73e3a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from contextlib import contextmanager
from pathlib import Path
from typing import Any
from typing import ContextManager
from typing import Dict
from typing import Generator
from typing import List
from typing import Optional

Expand All @@ -26,7 +26,7 @@
@contextmanager
def temporary_project_directory(
path: Path, toml_patch: Optional[Dict[str, Any]] = None
) -> ContextManager[str]:
) -> Generator[str, None, None]:
"""
Context manager that takes a project source directory, copies content to a temporary
directory, patches the `pyproject.toml` using the provided patch, or using the default
Expand Down

0 comments on commit d73e3a3

Please sign in to comment.