summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-09-17 07:15:09 +0300
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-09-17 07:39:52 +0200
commit4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03 (patch)
tree223d33e15f4923f708f887a70acdadc991b4c7d4 /doc
parentda36529a6ae1fb83417e600528692530a27aac1f (diff)
downloadpylint-git-4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03.tar.gz
Spelling and grammar fixes
Diffstat (limited to 'doc')
-rw-r--r--doc/how_tos/custom_checkers.rst2
-rw-r--r--doc/whatsnew/1.7.rst4
-rw-r--r--doc/whatsnew/2.2.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/how_tos/custom_checkers.rst b/doc/how_tos/custom_checkers.rst
index c5deddd94..7a454c4f5 100644
--- a/doc/how_tos/custom_checkers.rst
+++ b/doc/how_tos/custom_checkers.rst
@@ -140,7 +140,7 @@ and to remove the list of return nodes when we leave the function.
Finally we'll implement the check.
We will define a ``visit_return`` function,
-which is called with a :class:`.astroid.nodes.Return` node.
+which is called with an :class:`.astroid.nodes.Return` node.
.. _astroid_extract_node:
.. TODO We can shorten/remove this bit once astroid has API docs.
diff --git a/doc/whatsnew/1.7.rst b/doc/whatsnew/1.7.rst
index 0690ab9e5..0f799e6af 100644
--- a/doc/whatsnew/1.7.rst
+++ b/doc/whatsnew/1.7.rst
@@ -531,7 +531,7 @@ New checkers
* A new refactoring check was added, ``trailing-comma-tuple``, which is emitted
when pylint finds an one-element tuple, created by a stray comma. This can
- suggest a potential problem in the code and it is recommended to use parantheses
+ suggest a potential problem in the code and it is recommended to use parentheses
in order to emphasise the creation of a tuple, rather than relying on the comma
itself.
@@ -541,7 +541,7 @@ New checkers
a = 1,
- The warning can be fixed by adding parantheses:
+ The warning can be fixed by adding parentheses:
.. code-block:: python
diff --git a/doc/whatsnew/2.2.rst b/doc/whatsnew/2.2.rst
index 4a7478ffb..ffa0c92cd 100644
--- a/doc/whatsnew/2.2.rst
+++ b/doc/whatsnew/2.2.rst
@@ -60,7 +60,7 @@ Other Changes
Close #996
-* ``pylint`` used to emit a ``unused-variable`` error if unused import was found in the function. Now instead of
+* ``pylint`` used to emit an ``unused-variable`` error if unused import was found in the function. Now instead of
``unused-variable``, ``unused-import`` is emitted.
Close #2421