Skip to content

Commit b93fce7

Browse files
committed
Refactoring
Signed-off-by: Tsuyoshi Hombashi <[email protected]>
1 parent 79a2b1e commit b93fce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pathvalidate/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def normalize_platform(name: Optional[PlatformType]) -> Platform:
152152

153153

154154
def findall_to_str(match: list[Any]) -> str:
155-
uniq_list = set([repr(text) for text in match])
155+
uniq_list = {repr(text) for text in match}
156156
return ", ".join(uniq_list)
157157

158158

0 commit comments

Comments
 (0)