Skip to content

Commit

Permalink
Bump pylint to 3.0.2, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 22, 2023
1 parent 31aca81 commit efee961
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 18 deletions.
34 changes: 34 additions & 0 deletions doc/whatsnew/3/3.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,40 @@ easier to parse and provides more info, here's a sample output.
.. towncrier release notes start
What's new in Pylint 3.0.2?
---------------------------
Release date: 2023-10-22


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

- Fix ``used-before-assignment`` false positive for generic type syntax (PEP 695, Python 3.12).

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



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

- Escape special symbols and newlines in messages.

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

- Fixes suggestion for ``nested-min-max`` for expressions with additive operators, list and dict comprehensions.

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

- Fixes ignoring conditional imports with ``ignore-imports=y``.

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

- Emit ``inconsistent-quotes`` for f-strings with 3.12 interpreter only if targeting pre-3.12 versions.

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


What's new in Pylint 3.0.1?
---------------------------
Release date: 2023-10-05
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7874.bugfix

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

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.0.1"
__version__ = "3.0.2"


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.0.1"
current = "3.0.2"
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.0.1"
version = "3.0.2"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.0/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down

0 comments on commit efee961

Please sign in to comment.