Skip to content

Commit 914b7c2

Browse files
authored
Merge pull request pypa#9389 from jdufresne/copy-tree-kwargs
Remove unused class CopytreeKwargs
2 parents 193267b + 4bfe103 commit 914b7c2

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

news/86c319cb-0539-41a0-871b-4ffe72765f6f.trivial.rst

Whitespace-only changes.

src/pip/_internal/operations/prepare.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@
3838
from pip._internal.vcs import vcs
3939

4040
if MYPY_CHECK_RUNNING:
41-
from typing import Callable, Dict, Iterable, List, Optional, Tuple
41+
from typing import Dict, Iterable, List, Optional, Tuple
4242

43-
from mypy_extensions import TypedDict
4443
from pip._vendor.pkg_resources import Distribution
4544

4645
from pip._internal.index.package_finder import PackageFinder
@@ -50,16 +49,6 @@
5049
from pip._internal.req.req_tracker import RequirementTracker
5150
from pip._internal.utils.hashes import Hashes
5251

53-
CopytreeKwargs = TypedDict(
54-
'CopytreeKwargs',
55-
{
56-
'copy_function': Callable[[str, str], None],
57-
'ignore': Callable[[str, List[str]], List[str]],
58-
'ignore_dangling_symlinks': bool,
59-
'symlinks': bool,
60-
},
61-
total=False,
62-
)
6352

6453
logger = logging.getLogger(__name__)
6554

0 commit comments

Comments
 (0)