diff options
-rw-r--r-- | doc/whatsnew/2/2.15/index.rst | 48 | ||||
-rw-r--r-- | doc/whatsnew/fragments/6795.bugfix | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7626.false_positive | 4 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7626.other | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7635.bugfix | 7 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7655.other | 3 | ||||
-rw-r--r-- | pylint/__pkginfo__.py | 2 | ||||
-rw-r--r-- | tbump.toml | 2 |
8 files changed, 50 insertions, 22 deletions
diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index 5896de210..48c4479ba 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,54 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.5? +---------------------------- +Release date: 2022-10-21 + + +False Positives Fixed +--------------------- + +- Fix a false positive for ``simplify-boolean-expression`` when multiple values + are inferred for a constant. + + Closes #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_) + + + +Other Bug Fixes +--------------- + +- Remove ``__index__`` dunder method call from ``unnecessary-dunder-call`` + check. + + Closes #6795 (`#6795 <https://github.com/PyCQA/pylint/issues/6795>`_) + +- Fixed a multi-processing crash that prevents using any more than 1 thread on + MacOS. + + The returned module objects and errors that were cached by the linter plugin + loader + cannot be reliably pickled. This means that ``dill`` would throw an error + when + attempting to serialise the linter object for multi-processing use. + + Closes #7635. (`#7635 <https://github.com/PyCQA/pylint/issues/7635>`_) + + + +Other Changes +------------- + +- Add a keyword-only ``compare_constants`` argument to ``safe_infer``. + + Refs #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_) + +- Sort ``--generated-rcfile`` output. + + Refs #7655 (`#7655 <https://github.com/PyCQA/pylint/issues/7655>`_) + + What's new in Pylint 2.15.4? ---------------------------- Release date: 2022-10-10 diff --git a/doc/whatsnew/fragments/6795.bugfix b/doc/whatsnew/fragments/6795.bugfix deleted file mode 100644 index 20a29da35..000000000 --- a/doc/whatsnew/fragments/6795.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Remove ``__index__`` dunder method call from ``unnecessary-dunder-call`` check. - -Closes #6795 diff --git a/doc/whatsnew/fragments/7626.false_positive b/doc/whatsnew/fragments/7626.false_positive deleted file mode 100644 index bfa56c107..000000000 --- a/doc/whatsnew/fragments/7626.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix a false positive for ``simplify-boolean-expression`` when multiple values -are inferred for a constant. - -Closes #7626 diff --git a/doc/whatsnew/fragments/7626.other b/doc/whatsnew/fragments/7626.other deleted file mode 100644 index 8020fc83f..000000000 --- a/doc/whatsnew/fragments/7626.other +++ /dev/null @@ -1,3 +0,0 @@ -Add a keyword-only ``compare_constants`` argument to ``safe_infer``. - -Refs #7626 diff --git a/doc/whatsnew/fragments/7635.bugfix b/doc/whatsnew/fragments/7635.bugfix deleted file mode 100644 index 72085e029..000000000 --- a/doc/whatsnew/fragments/7635.bugfix +++ /dev/null @@ -1,7 +0,0 @@ -Fixed a multi-processing crash that prevents using any more than 1 thread on MacOS. - -The returned module objects and errors that were cached by the linter plugin loader -cannot be reliably pickled. This means that ``dill`` would throw an error when -attempting to serialise the linter object for multi-processing use. - -Closes #7635. diff --git a/doc/whatsnew/fragments/7655.other b/doc/whatsnew/fragments/7655.other deleted file mode 100644 index 9024fe38e..000000000 --- a/doc/whatsnew/fragments/7655.other +++ /dev/null @@ -1,3 +0,0 @@ -Sort ``--generated-rcfile`` output. - -Refs #7655 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 189471a6d..07f0cd7c0 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ It's updated via tbump, do not modify. from __future__ import annotations -__version__ = "2.15.4" +__version__ = "2.15.5" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 3a7cfaa9b..ed6d6d5f3 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.4" +current = "2.15.5" regex = ''' ^(?P<major>0|[1-9]\d*) \. |