Skip to content

Commit

Permalink
Bump pylint to 3.1.1, update changelog (#9615)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored May 13, 2024
1 parent 461831f commit 94eed81
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
23 changes: 23 additions & 0 deletions doc/whatsnew/3/3.1/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ and a smattering of bug fixes.

.. towncrier release notes start
What's new in Pylint 3.1.1?
---------------------------
Release date: 2024-05-13


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

- Treat `attrs.define` and `attrs.frozen` as dataclass decorators in
`too-few-public-methods` check.

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

- Fix a false positive with ``singledispatchmethod-function`` when a method is decorated with both ``functools.singledispatchmethod`` and ``staticmethod``.

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

- Fix a false positive for ``consider-using-dict-items`` when iterating using ``keys()`` and then deleting an item using the key as a lookup.

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



What's new in Pylint 3.1.0?
---------------------------
Release date: 2024-02-25
Expand Down
4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9345.false_positive

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9554.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__ = "3.1.0"
__version__ = "3.1.1"


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/pylint-dev/pylint"

[version]
current = "3.1.0"
current = "3.1.1"
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 = "3.1.0"
version = "3.1.1"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.1/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down

0 comments on commit 94eed81

Please sign in to comment.