From 31c1b1499ed7fe5557b2b69c7dc1a87d771a58f2 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:38:23 +0100 Subject: [PATCH] DOC: Fix typos found by codespell --- doc/validation.rst | 2 +- numpydoc/numpydoc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/validation.rst b/doc/validation.rst index 93bd9b0b..4ce89017 100644 --- a/doc/validation.rst +++ b/doc/validation.rst @@ -72,7 +72,7 @@ the pre-commit hook as follows: In addition to the above, :ref:`inline ignore comments ` can be used to ignore findings on a case by case basis. -If any issues are found when commiting, a report is printed out, and the +If any issues are found when committing, a report is printed out, and the commit is halted: .. code-block:: output diff --git a/numpydoc/numpydoc.py b/numpydoc/numpydoc.py index 3af2f11f..335de5a8 100644 --- a/numpydoc/numpydoc.py +++ b/numpydoc/numpydoc.py @@ -404,7 +404,7 @@ def match_items(lines, content_old): This function tries to match the lines in ``lines`` with the items (source file references and line numbers) in ``content_old``. The ``mangle_docstrings`` function changes the actual docstrings, but doesn't - keep track of where each line came from. The manging does many operations + keep track of where each line came from. The mangling does many operations on the original lines, which are hard to track afterwards. Many of the line changes come from deleting or inserting blank lines. This