diff options
Diffstat (limited to 'doc/whatsnew/fragments/6871.user_action')
-rw-r--r-- | doc/whatsnew/fragments/6871.user_action | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/whatsnew/fragments/6871.user_action b/doc/whatsnew/fragments/6871.user_action index e20983171..eace82f7a 100644 --- a/doc/whatsnew/fragments/6871.user_action +++ b/doc/whatsnew/fragments/6871.user_action @@ -1,12 +1,13 @@ -* The compare to empty string checker (``pylint.extensions.emptystring``) and the compare to - 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. - - The `pylint.extensions.emptystring`` and ``pylint.extensions.compare-to-zero`` extensions no longer exists and - needs to be removed from the ``load-plugins`` option. +The compare to empty string checker (``pylint.extensions.emptystring``) and the compare to +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. + +The `pylint.extensions.emptystring`` and ``pylint.extensions.compare-to-zero`` extensions +no longer exists and needs to be removed from the ``load-plugins`` option. This permits to make their likeness explicit and will provide better performance as they share most of their conditions to be raised. |