diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-17 07:15:09 +0300 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-09-17 07:39:52 +0200 |
| commit | 4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03 (patch) | |
| tree | 223d33e15f4923f708f887a70acdadc991b4c7d4 /doc/whatsnew | |
| parent | da36529a6ae1fb83417e600528692530a27aac1f (diff) | |
| download | pylint-git-4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03.tar.gz | |
Spelling and grammar fixes
Diffstat (limited to 'doc/whatsnew')
| -rw-r--r-- | doc/whatsnew/1.7.rst | 4 | ||||
| -rw-r--r-- | doc/whatsnew/2.2.rst | 2 |
2 files changed, 3 insertions, 3 deletions
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 |
