Skip to content

Commit 9b0d98c

Browse files
committed
Revert change files under _vendor
1 parent e470e9e commit 9b0d98c

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ optional arguments:
320320
STOP and STEP default to 1
321321
```
322322

323-
Even though autocommand is being applied to the `wrapper` returned by `print_yielded`, it still retrieves the signature of the underlying `seq` function to create the argument parsing.
323+
Even though autocommand is being applied to the `wrapper` returned by `print_yielded`, it still retreives the signature of the underlying `seq` function to create the argument parsing.
324324

325325
### Custom Parser
326326

@@ -331,7 +331,7 @@ from argparse import ArgumentParser
331331
from autocommand import autocommand
332332

333333
parser = ArgumentParser()
334-
# autocommand can't do optional positional parameters
334+
# autocommand can't do optional positonal parameters
335335
parser.add_argument('arg', nargs='?')
336336
# or mutually exclusive options
337337
group = parser.add_mutually_exclusive_group()

setuptools/_vendor/autocommand/autoasync.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ async def _run_forever_coro(coro, args, kwargs, loop):
5454
def autoasync(coro=None, *, loop=None, forever=False, pass_loop=False):
5555
'''
5656
Convert an asyncio coroutine into a function which, when called, is
57-
evaluated in an event loop, and the return value returned. This is intended
57+
evaluted in an event loop, and the return value returned. This is intented
5858
to make it easy to write entry points into asyncio coroutines, which
59-
otherwise need to be explicitly evaluated with an event loop's
59+
otherwise need to be explictly evaluted with an event loop's
6060
run_until_complete.
6161
6262
If `loop` is given, it is used as the event loop to run the coro in. If it
63-
is None (the default), the loop is retrieved using asyncio.get_event_loop.
64-
This call is deferred until the decorated function is called, so that
63+
is None (the default), the loop is retreived using asyncio.get_event_loop.
64+
This call is defered until the decorated function is called, so that
6565
callers can install custom event loops or event loop policies after
6666
@autoasync is applied.
6767

setuptools/_vendor/autocommand/autoparse.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AnnotationError(AutocommandError):
3434

3535
class PositionalArgError(AutocommandError):
3636
'''
37-
Positional Arg Error: autocommand can't handle positional-only parameters
37+
Postional Arg Error: autocommand can't handle postional-only parameters
3838
'''
3939

4040

@@ -137,7 +137,7 @@ def _add_arguments(param, parser, used_char_args, add_nos):
137137
arg_spec['type'] = str
138138

139139
# TODO: special case for list type.
140-
# - How to specify type of list members?
140+
# - How to specificy type of list members?
141141
# - param: [int]
142142
# - param: int =[]
143143
# - action='append' vs nargs='*'
@@ -197,7 +197,7 @@ def make_parser(func_sig, description, epilog, add_nos):
197197
used_char_args = {'h'}
198198

199199
# Arange the params so that single-character arguments are first. This
200-
# ensures they don't have to get --long versions. sorted is stable, so the
200+
# esnures they don't have to get --long versions. sorted is stable, so the
201201
# parameters will otherwise still be in relative order.
202202
params = sorted(
203203
func_sig.parameters.values(),
@@ -249,7 +249,7 @@ def autoparse(
249249
while parameters *with* defaults become --options. Use annotations to set
250250
the type of the parameter.
251251
252-
The `description` and `epilog` parameters correspond to the same respective
252+
The `desctiption` and `epilog` parameters corrospond to the same respective
253253
argparse parameters. If no description is given, it defaults to the
254254
decorated functions's docstring, if present.
255255

setuptools/_vendor/inflect/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ def get_si_pron(thecase, word, gender) -> str:
18371837
re.VERBOSE,
18381838
)
18391839

1840-
# THIS PATTERN CODES THE BEGINNINGS OF ALL ENGLISH WORDS BEGINNING WITH A
1840+
# THIS PATTERN CODES THE BEGINNINGS OF ALL ENGLISH WORDS BEGINING WITH A
18411841
# 'y' FOLLOWED BY A CONSONANT. ANY OTHER Y-CONSONANT PREFIX THEREFORE
18421842
# IMPLIES AN ABBREVIATION.
18431843

setuptools/_vendor/packaging/metadata.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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 potential issue is that it's possible to have the
196+
# The other potentional 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 unparsable and add it
199+
# thing we can, which is treat the field as unparseable 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 unparsable, and we can just add the whole thing to our
213-
# unparsable data and stop processing it.
212+
# is unparseable, and we can just add the whole thing to our
213+
# unparseable 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 unparsable data and move on.
427+
# throw it in our unparseable 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 unparsable.
444+
# it, and this body move to unparseable.
445445
if "description" in raw:
446446
description_header = cast(str, raw.pop("description"))
447447
unparsed.setdefault("description", []).extend(

0 commit comments

Comments
 (0)