Skip to content

Commit

Permalink
Bump pylint to 3.3.5, update changelog (#10266)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
  • Loading branch information
Pierre-Sassoulas and cdce8p authored Mar 9, 2025
1 parent 1052bc8 commit aaab3cc
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 24 deletions.
48 changes: 48 additions & 0 deletions doc/whatsnew/3/3.3/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,54 @@ Summary -- Release highlights

.. towncrier release notes start
What's new in Pylint 3.3.5?
---------------------------
Release date: 2025-03-09


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

- Fix false positives for `use-implicit-booleaness-not-comparison`, `use-implicit-booleaness-not-comparison-to-string`
and `use-implicit-booleaness-not-comparison-to-zero` when chained comparisons are checked.

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

- Fix a false positive for ``invalid-getnewargs-ex-returned`` when the tuple or dict has been assigned to a name.

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

- Remove `getopt` and `optparse` from the list of deprecated modules.

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



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

- Fixed conditional import x.y causing false positive possibly-used-before-assignment.

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

- Fix a crash when something besides a class is found in an except handler.

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

- Fixed raising invalid-name when using camelCase for private methods with two leading underscores.

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



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

- Upload release assets to PyPI via Trusted Publishing.

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



What's new in Pylint 3.3.4?
---------------------------
Expand Down
4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/10065.false_positive

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

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.3.5a0"
__version__ = "3.3.5"


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.3.5a0"
current = "3.3.5"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit aaab3cc

Please # to comment.