We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c4ebb commit a67b61fCopy full SHA for a67b61f
src/pdm/backend/utils.py
@@ -107,7 +107,7 @@ def _build_filter(patterns: Iterable[str]) -> Callable[[str], bool]:
107
108
109
@contextmanager
110
-def cd(path: str | Path) -> Generator[None, None, None]:
+def cd(path: str | Path) -> Generator[None]:
111
_old_cwd = os.getcwd()
112
os.chdir(path)
113
try:
@@ -183,7 +183,7 @@ def normalize_file_permissions(st_mode: int) -> int:
183
184
185
@contextlib.contextmanager
186
-def patch_sys_path(path: str | Path) -> Generator[None, None, None]:
+def patch_sys_path(path: str | Path) -> Generator[None]:
187
old_path = sys.path[:]
188
sys.path.insert(0, str(path))
189
0 commit comments