Skip to content

Commit

Permalink
Bump pylint to 2.17.2, update changelog (#8533)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Apr 3, 2023
1 parent 84c197d commit de0147e
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 19 deletions.
36 changes: 36 additions & 0 deletions doc/whatsnew/2/2.17/index.rst
Expand Up @@ -29,6 +29,42 @@ so we find problems before the actual release.

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


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

- ``invalid-name`` now allows for integers in ``typealias`` names:
- now valid: ``Good2Name``, ``GoodName2``.
- still invalid: ``_1BadName``.

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

- No longer consider ``Union`` as type annotation as type alias for naming
checks.

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

- ``unnecessary-lambda`` no longer warns on lambdas which use its parameters in
their body (other than the final arguments), e.g.
``lambda foo: (bar if foo else baz)(foo)``.

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



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

- Fix a crash in pyreverse when "/" characters are used in the output filename
e.g pyreverse -o png -p name/ path/to/project.

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


What's new in Pylint 2.17.1?
----------------------------
Release date: 2023-03-22
Expand Down
5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/8485.false_positive

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/8496.false_positive

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "2.17.1"
__version__ = "2.17.2"


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

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

0 comments on commit de0147e

Please sign in to comment.