Skip to content

Bump pylint to 3.3.5, update changelog #10266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading