Skip to content

Commit ff19eca

Browse files
committed
Fix a couple of flake8 issues
1 parent 43e4b41 commit ff19eca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pip/_internal/models/wheel.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name that have meaning.
33
"""
44
import re
5-
from typing import Dict, List
5+
from typing import Dict, Iterable, List
66

77
from pip._vendor.packaging.tags import Tag
88

@@ -82,7 +82,9 @@ def find_most_preferred_tag(self, tags, tag_to_priority):
8282
:raises ValueError: If none of the wheel's file tags match one of
8383
the supported tags.
8484
"""
85-
return min(tag_to_priority[tag] for tag in self.file_tags if tag in tag_to_priority)
85+
return min(
86+
tag_to_priority[tag] for tag in self.file_tags if tag in tag_to_priority
87+
)
8688

8789
def supported(self, tags):
8890
# type: (Iterable[Tag]) -> bool

0 commit comments

Comments
 (0)