diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index 5896de210f..48c4479ba9 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 `_) + + + +Other Bug Fixes +--------------- + +- Remove ``__index__`` dunder method call from ``unnecessary-dunder-call`` + check. + + Closes #6795 (`#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 `_) + + + +Other Changes +------------- + +- Add a keyword-only ``compare_constants`` argument to ``safe_infer``. + + Refs #7626 (`#7626 `_) + +- Sort ``--generated-rcfile`` output. + + Refs #7655 (`#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 20a29da356..0000000000 --- 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 bfa56c1072..0000000000 --- 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 8020fc83f3..0000000000 --- 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 72085e0291..0000000000 --- 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 9024fe38e8..0000000000 --- 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 189471a6db..07f0cd7c03 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ 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 3a7cfaa9b1..ed6d6d5f3f 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 = ''' ^(?P0|[1-9]\d*) \.