@@ -193,10 +193,10 @@ def _parse_project_urls(data: list[str]) -> dict[str, str]:
193193 # be the missing value, then they'd have multiple '' values that
194194 # overwrite each other in a accumulating dict.
195195 #
196- # The other potentional issue is that it's possible to have the
196+ # The other potential issue is that it's possible to have the
197197 # same label multiple times in the metadata, with no solid "right"
198198 # answer with what to do in that case. As such, we'll do the only
199- # thing we can, which is treat the field as unparseable and add it
199+ # thing we can, which is treat the field as unparsable and add it
200200 # to our list of unparsed fields.
201201 parts = [p .strip () for p in pair .split ("," , 1 )]
202202 parts .extend (["" ] * (max (0 , 2 - len (parts )))) # Ensure 2 items
@@ -209,8 +209,8 @@ def _parse_project_urls(data: list[str]) -> dict[str, str]:
209209 label , url = parts
210210 if label in urls :
211211 # The label already exists in our set of urls, so this field
212- # is unparseable , and we can just add the whole thing to our
213- # unparseable data and stop processing it.
212+ # is unparsable , and we can just add the whole thing to our
213+ # unparsable data and stop processing it.
214214 raise KeyError ("duplicate labels in project urls" )
215215 urls [label ] = url
216216
@@ -424,7 +424,7 @@ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
424424 except KeyError :
425425 unparsed [name ] = value
426426 # Nothing that we've done has managed to parse this, so it'll just
427- # throw it in our unparseable data and move on.
427+ # throw it in our unparsable data and move on.
428428 else :
429429 unparsed [name ] = value
430430
@@ -441,7 +441,7 @@ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
441441 else :
442442 if payload :
443443 # Check to see if we've already got a description, if so then both
444- # it, and this body move to unparseable .
444+ # it, and this body move to unparsable .
445445 if "description" in raw :
446446 description_header = cast (str , raw .pop ("description" ))
447447 unparsed .setdefault ("description" , []).extend (
0 commit comments