Skip to content

Commit

Permalink
Bump pylint to 2.17.3, update changelog (#8620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Apr 24, 2023
1 parent 3fc153a commit 389e14c
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 33 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ contributors:
- Eli Fine <[email protected]> (eli88fine): Fixed false positive duplicate code warning for lines with symbols only
- Andrew Haigh <[email protected]> (nelfin)
- Émile Crater <[email protected]>
- Yilei "Dolee" Yang <[email protected]>
- Pavel Roskin <[email protected]>
- David Gilman <[email protected]>
- へーさん <[email protected]>
- Yilei "Dolee" Yang <[email protected]>
- Thomas Hisch <[email protected]>
- Marianna Polatoglou <[email protected]>: minor contribution for wildcard import check
- Manuel Vázquez Acosta <[email protected]>
Expand Down Expand Up @@ -206,6 +206,7 @@ contributors:
- chohner <[email protected]>
- Tiago Honorato <[email protected]>
- Steven M. Vascellaro <[email protected]>
- Rogdham <[email protected]>
- Robin Tweedie <[email protected]>
- Roberto Leinardi <[email protected]>: PyCharm plugin maintainer
- Ricardo Gemignani <[email protected]>
Expand Down Expand Up @@ -254,7 +255,6 @@ contributors:
- Scott Worley <[email protected]>
- Saugat Pachhai <[email protected]>
- Rémi Cardona <[email protected]>
- Rogdham <[email protected]>
- Raphael Gaschignard <[email protected]>
- Ram Rachum <[email protected]> (cool-RR)
- Radostin Stoyanov <[email protected]>
Expand Down
58 changes: 58 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,64 @@ so we find problems before the actual release.

.. towncrier release notes start
What's new in Pylint 2.17.3?
----------------------------
Release date: 2023-04-24


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

- Fix `unused-argument` false positive when `__new__` does not use all the
arguments of `__init__`.

Closes #3670 (`#3670 <https://github.com/PyCQA/pylint/issues/3670>`_)

- Fix ``unused-import`` false positive for usage of ``six.with_metaclass``.

Closes #7506 (`#7506 <https://github.com/PyCQA/pylint/issues/7506>`_)

- `logging-not-lazy` is not longer emitted for explicitly concatenated string
arguments.

Closes #8410 (`#8410 <https://github.com/PyCQA/pylint/issues/8410>`_)

- Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.

Closes #8424 (`#8424 <https://github.com/PyCQA/pylint/issues/8424>`_)

- Fixed `unused-import` so that it observes the `dummy-variables-rgx` option.

Closes #8500 (`#8500 <https://github.com/PyCQA/pylint/issues/8500>`_)

- `Union` typed variables without assignment are no longer treated as
`TypeAlias`.

Closes #8540 (`#8540 <https://github.com/PyCQA/pylint/issues/8540>`_)

- Fix false positive for ``positional-only-arguments-expected`` when a function
contains both a positional-only parameter that has a default value, and
``**kwargs``.

Closes #8555 (`#8555 <https://github.com/PyCQA/pylint/issues/8555>`_)

- Fix false positive for ``keyword-arg-before-vararg`` when a positional-only
parameter with a default value precedes ``*args``.

Closes #8570 (`#8570 <https://github.com/PyCQA/pylint/issues/8570>`_)



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

- Improve output of ``consider-using-generator`` message for ``min()` calls
with ``default`` keyword.

Closes #8563 (`#8563 <https://github.com/PyCQA/pylint/issues/8563>`_)


What's new in Pylint 2.17.2?
----------------------------
Release date: 2023-04-03
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/3670.false_positive

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "2.17.2"
__version__ = "2.17.3"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.17.2"
current = "2.17.3"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "2.17.2"
version = "2.17.3"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/2/2.17/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down

0 comments on commit 389e14c

Please sign in to comment.