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