Skip to content

Fix release notes after 2.17.5 release #8910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ contributors:
- Arthur Lutz <[email protected]>
- Antonio Ossa <[email protected]>
- Antonio <[email protected]>
- Antonio <[email protected]>
- Anthony VEREZ <[email protected]>
- Anthony Tan <[email protected]>
- Anthony Foglia <[email protected]> (Google): Added simple string slots check.
Expand Down
75 changes: 75 additions & 0 deletions doc/whatsnew/2/2.17/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,81 @@ so we find problems before the actual release.

.. towncrier release notes start

What's new in Pylint 2.17.5?
----------------------------
Release date: 2023-07-26


False Positives Fixed
---------------------

- Fix a false positive for ``unused-variable`` when there is an import in a
``if TYPE_CHECKING:`` block and ``allow-global-unused-variables`` is set to
``no`` in the configuration.

Closes #8696 (`#8696 <https://github.com/pylint-dev/pylint/issues/8696>`_)

- Fix false positives generated when supplying arguments as ``**kwargs`` to IO
calls like open().

Closes #8719 (`#8719 <https://github.com/pylint-dev/pylint/issues/8719>`_)

- Fix a false positive where pylint was ignoring method calls annotated as
``NoReturn`` during the ``inconsistent-return-statements`` check.

Closes #8747 (`#8747 <https://github.com/pylint-dev/pylint/issues/8747>`_)

- Exempt parents with only type annotations from the ``invalid-enum-extension``
message.

Closes #8830 (`#8830 <https://github.com/pylint-dev/pylint/issues/8830>`_)



Other Bug Fixes
---------------

- Fixed crash when a call to ``super()`` was placed after an operator (e.g.
``not``).

Closes #8554 (`#8554 <https://github.com/pylint-dev/pylint/issues/8554>`_)

- Fix crash for ``modified-while-iterating`` checker when deleting
members of a dict returned from a call.

Closes #8598 (`#8598 <https://github.com/pylint-dev/pylint/issues/8598>`_)

- Fix crash in ``invalid-metaclass`` check when a metaclass had duplicate
bases.

Closes #8698 (`#8698 <https://github.com/pylint-dev/pylint/issues/8698>`_)

- Avoid ``consider-using-f-string`` on modulos with brackets in template.

Closes #8720. (`#8720 <https://github.com/pylint-dev/pylint/issues/8720>`_)

- Fix a crash when ``__all__`` exists but cannot be inferred.

Closes #8740 (`#8740 <https://github.com/pylint-dev/pylint/issues/8740>`_)

- Fix crash when a variable is assigned to a class attribute of identical name.

Closes #8754 (`#8754 <https://github.com/pylint-dev/pylint/issues/8754>`_)

- Fixed a crash when calling ``copy.copy()`` without arguments.

Closes #8774 (`#8774 <https://github.com/pylint-dev/pylint/issues/8774>`_)



Other Changes
-------------

- Fix a crash when a ``nonlocal`` is defined at module-level.

Closes #8735 (`#8735 <https://github.com/pylint-dev/pylint/issues/8735>`_)


What's new in Pylint 2.17.4?
----------------------------
Release date: 2023-05-06
Expand Down
7 changes: 5 additions & 2 deletions doc/whatsnew/3/3.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
Summary -- Release highlights
=============================

In ``3.0.0``, we're enacting necessary breaking changes and long
announced deprecations.
Pylint now provides some important usability and performance improvements,
along with enacting necessary breaking changes and long-announced deprecations.

There's going to be frequent beta releases,
before the official releases, everyone is welcome to try the betas
so we find problems before the actual release.

The required ``astroid`` version is now 3.0.0. See the
`astroid changelog <https://pylint.readthedocs.io/projects/astroid/en/latest/changelog.html#what-s-new-in-astroid-3-0-0>`_
for additional fixes, features, and performance improvements applicable to pylint.

.. towncrier release notes start
2 changes: 1 addition & 1 deletion doc/whatsnew/fragments/8408.internal
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'Reporter.set_output' was removed in favor of 'reporter.out = stream'.
``Reporter.set_output`` was removed in favor of ``reporter.out = stream``.

Refs #8408
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8554.bugfix

This file was deleted.

3 changes: 3 additions & 0 deletions doc/whatsnew/fragments/8558.new_check
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Add a new checker ``kwarg-superseded-by-positional-arg`` to warn when a function is called with a keyword argument which shares a name with a positional-only parameter and the function contains a keyword variadic parameter dictionary. It may be surprising behaviour when the keyword argument is added to the keyword variadic parameter dictionary.

Closes #8558
4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/8598.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8696.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8698.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8719.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8720.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8735.other

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8740.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8747.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8754.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8774.bugfix

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/8830.false_positive

This file was deleted.