Skip to content

Commit

Permalink
Tidy up 3.0 fragments (#9057)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored Sep 23, 2023
1 parent 2d85a39 commit 6dac300
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions doc/whatsnew/fragments/6871.user_action
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ The compare to empty string checker (``pylint.extensions.emptystring``) and the
zero checker (``pylint.extensions.compare-to-zero``) have been removed and their checks are
now part of the implicit booleaness checker:

``compare-to-zero`` was renamed ``use-implicit-booleaness-not-comparison-to-zero`` and
``compare-to-empty-string`` was renamed ``use-implicit-booleaness-not-comparison-to-string``
and they now need to be enabled explicitly.
- ``compare-to-zero`` was renamed ``use-implicit-booleaness-not-comparison-to-zero`` and
``compare-to-empty-string`` was renamed ``use-implicit-booleaness-not-comparison-to-string``
and they now need to be enabled explicitly.

The ``pylint.extensions.emptystring`` and ``pylint.extensions.compare-to-zero`` extensions
no longer exist and need to be removed from the ``load-plugins`` option.
- The ``pylint.extensions.emptystring`` and ``pylint.extensions.compare-to-zero`` extensions
no longer exist and need to be removed from the ``load-plugins`` option.

Messages related to implicit booleaness were made more explicit and actionable.

This permits to make their likeness explicit and will provide better performance as they share most of their
conditions to be raised.
- Messages related to implicit booleaness were made more explicit and actionable.
This permits to make their likeness explicit and will provide better performance as they
share most of their conditions to be raised.

Closes #6871
2 changes: 1 addition & 1 deletion doc/whatsnew/fragments/8411.user_action
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The 'overgeneral-exceptions' option now only takes fully qualified names
The ``overgeneral-exceptions`` option now only takes fully qualified names
into account (``builtins.Exception`` not ``Exception``). If you overrode
this option, you need to use the fully qualified name now.

Expand Down

0 comments on commit 6dac300

Please sign in to comment.