Skip to content

Commit

Permalink
#1270 Make dedup_ordered type annotations more specific (#1271)
Browse files Browse the repository at this point in the history
* Make dedup_ordered type annotations more specific

* Remove changelog file since this patch doesn't affect end users
  • Loading branch information
sam-xif committed Mar 1, 2024
1 parent 78c568c commit a8807a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipx/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def subprocess_post_check(completed_process: "subprocess.CompletedProcess[str]",
logger.info(f"{' '.join(completed_process.args)!r} failed")


def dedup_ordered(input_list: List[Any]) -> List[Any]:
def dedup_ordered(input_list: List[Tuple[str, Any]]) -> List[Tuple[str, Any]]:
output_list = []
seen = set()
for x in input_list:
Expand Down

0 comments on commit a8807a0

Please sign in to comment.