Skip to content

Commit b9ca714

Browse files
arhadthedevAA-Turnerwookie184
authored
Lint: Fix outstanding codespell spelling errors (#3129)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: wookie184 <wookie1840@gmail.com>
1 parent 982e193 commit b9ca714

24 files changed

Lines changed: 30 additions & 28 deletions

.codespell/ignore-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
adaptee
2+
ancilliary
23
ans
34
arithmetics
45
asend
@@ -15,5 +16,6 @@ nd
1516
ned
1617
recuse
1718
reenable
19+
referencable
1820
therefor
1921
warmup

pep-0011.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ platform to be considered supported by CPython as well as providing a
4242
procedure to remove code for platforms with few or no CPython
4343
users.
4444

45-
This PEP also lists what plaforms *are* supported by the CPython
45+
This PEP also lists what platforms *are* supported by the CPython
4646
interpreter. This lets people know what platforms are directly
4747
supported by the CPython development team.
4848

pep-0285.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Resolved Issues
415415

416416
since the bool is implicit in the "if". Explicit is **not**
417417
better than implicit here, since the added verbiage impairs
418-
redability and there's no other interpretation possible. There
418+
readability and there's no other interpretation possible. There
419419
is, however, sometimes a reason to write
420420
::
421421

pep-0426.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ Support for metadata extensions
12841284

12851285
The new extension effectively allows sections of the metadata
12861286
namespace to be delegated to other projects, while preserving a
1287-
standard overal format metadata format for easy of processing by
1287+
standard overall format metadata format for easy of processing by
12881288
distribution tools that do not support a particular extension.
12891289

12901290
It also works well in combination with the new ``build`` extra

pep-0526.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ culprit, is accepted by the Python interpreter without questioning it
464464

465465
The recommended way of getting annotations at runtime is by using
466466
``typing.get_type_hints`` function; as with all dunder attributes,
467-
any undocummented use of ``__annotations__`` is subject to breakage
467+
any undocumented use of ``__annotations__`` is subject to breakage
468468
without warning::
469469

470470
from typing import Dict, ClassVar, get_type_hints

pep-0554.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ each with different goals. Most center on correctness and usability.
478478
One class of concurrency models focuses on isolated threads of
479479
execution that interoperate through some message passing scheme. A
480480
notable example is Communicating Sequential Processes [CSP]_ (upon
481-
which Go's concurrency is roughly based). The inteded isolation
481+
which Go's concurrency is roughly based). The intended isolation
482482
inherent to CPython's interpreters makes them well-suited
483483
to this approach.
484484

pep-0582.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ advanced concepts.
4646
Furthermore, standalone Python applications usually need 3rd party libraries to
4747
function. Typically, they are either designed to be run from a virtual environment,
4848
where the dependencies are installed into the environment alongside the application,
49-
or they bundle their depenencies in a subdirectory, and modify ``sys.path`` at
49+
or they bundle their dependencies in a subdirectory, and modify ``sys.path`` at
5050
application startup. Virtual environments, while a common and effective solution
5151
(used, for example, by the ``pipx`` tool), are somewhat awkward to set up and manage,
5252
and are not relocatable. On the other hand, manual manipulation of ``sys.path`` is

pep-0622.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ the fact that, because of the way names are bound, there are no real
21072107
constants in Python. It also meant that the ``__match__`` method would
21082108
have to re-implement much of the logic of matching which would otherwise
21092109
be implemented in C code in the Python VM. As a result, this option would
2110-
perform poorly compared to an equilvalent ``if``-statement.
2110+
perform poorly compared to an equivalent ``if``-statement.
21112111

21122112
The simpler protocol suffered from the fact that although it was more
21132113
performant, it was much less flexible, and did not allow for many of

pep-0642.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ pattern caching rule, where the number of times the constraint expression
16991699
actually gets evaluated will be implementation dependent. Even here, the PEP
17001700
takes the view of letting users write nonsense if they really want to.
17011701

1702-
Aside from the recenty updated decorator expressions, another situation where
1702+
Aside from the recently updated decorator expressions, another situation where
17031703
Python's formal syntax offers full freedom of expression that is almost never
17041704
used in practice is in ``except`` clauses: the exceptions to match against
17051705
almost always take the form of a simple name, a dotted name, or a tuple of

pep-0652.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ The initial Stable ABI manifest will include:
242242
Items that are no longer in CPython when this PEP is accepted will be removed
243243
from the list.
244244

245-
Additional items may be aded to the initial manifest according to
245+
Additional items may be added to the initial manifest according to
246246
the checklist below.
247247

248248

0 commit comments

Comments
 (0)