Skip to content

Commit 02d6842

Browse files
Fix typos found by codespell (#343)
1 parent db7eaf3 commit 02d6842

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The full set of validation checks can be activated by::
4040

4141
The complete validation suite contains `many checks <validation_checks>`_
4242
including some for style, capitalization, and grammar.
43-
It is unlikely that reporting *all* validation warnings is desireable for
43+
It is unlikely that reporting *all* validation warnings is desirable for
4444
most use-cases.
4545
Individual checks can be excluded by including them in the set with the
4646
special keyword ``"all"``::

numpydoc/tests/test_validate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def plot(self, kind, color="blue", **kwargs):
5858

5959
def swap(self, arr, i, j, *args, **kwargs):
6060
"""
61-
Swap two indicies on an array.
61+
Swap two indices on an array.
6262
6363
The extended summary can be multiple paragraphs, but just one
6464
is enough to pass the validation.
@@ -417,9 +417,9 @@ def multiple_variables_on_one_line(self, matrix, a, b, i, j):
417417
matrix : list of list
418418
A double list that represents a matrix.
419419
a, b : int
420-
The indicies of the first value.
420+
The indices of the first value.
421421
i, j : int
422-
The indicies of the second value.
422+
The indices of the second value.
423423
424424
See Also
425425
--------
@@ -921,7 +921,7 @@ def no_type(self):
921921

922922
def no_description(self):
923923
"""
924-
Provides type but no descrption.
924+
Provides type but no description.
925925
926926
Returns
927927
-------

0 commit comments

Comments
 (0)