diff --git a/doc/whatsnew/3/3.3/index.rst b/doc/whatsnew/3/3.3/index.rst index f0993e8d0d..2526d676c4 100644 --- a/doc/whatsnew/3/3.3/index.rst +++ b/doc/whatsnew/3/3.3/index.rst @@ -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 `_) + +- Fix a false positive for ``invalid-getnewargs-ex-returned`` when the tuple or dict has been assigned to a name. + + Closes #10208 (`#10208 `_) + +- Remove `getopt` and `optparse` from the list of deprecated modules. + + Closes #10211 (`#10211 `_) + + + +Other Bug Fixes +--------------- + +- Fixed conditional import x.y causing false positive possibly-used-before-assignment. + + Closes #10081 (`#10081 `_) + +- Fix a crash when something besides a class is found in an except handler. + + Closes #10106 (`#10106 `_) + +- Fixed raising invalid-name when using camelCase for private methods with two leading underscores. + + Closes #10189 (`#10189 `_) + + + +Other Changes +------------- + +- Upload release assets to PyPI via Trusted Publishing. + + Closes #10256 (`#10256 `_) + + What's new in Pylint 3.3.4? --------------------------- diff --git a/doc/whatsnew/fragments/10065.false_positive b/doc/whatsnew/fragments/10065.false_positive deleted file mode 100644 index 0925ac9c5c..0000000000 --- a/doc/whatsnew/fragments/10065.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -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 diff --git a/doc/whatsnew/fragments/10081.bugfix b/doc/whatsnew/fragments/10081.bugfix deleted file mode 100644 index 69828be5af..0000000000 --- a/doc/whatsnew/fragments/10081.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixed conditional import x.y causing false positive possibly-used-before-assignment. - -Closes #10081 diff --git a/doc/whatsnew/fragments/10106.bugfix b/doc/whatsnew/fragments/10106.bugfix deleted file mode 100644 index 7309e5b949..0000000000 --- a/doc/whatsnew/fragments/10106.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix a crash when something besides a class is found in an except handler. - -Closes #10106 diff --git a/doc/whatsnew/fragments/10189.bugfix b/doc/whatsnew/fragments/10189.bugfix deleted file mode 100644 index 4f5cf545de..0000000000 --- a/doc/whatsnew/fragments/10189.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixed raising invalid-name when using camelCase for private methods with two leading underscores. - -Closes #10189 diff --git a/doc/whatsnew/fragments/10208.false_positive b/doc/whatsnew/fragments/10208.false_positive deleted file mode 100644 index b2ab63045f..0000000000 --- a/doc/whatsnew/fragments/10208.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix a false positive for ``invalid-getnewargs-ex-returned`` when the tuple or dict has been assigned to a name. - -Closes #10208 diff --git a/doc/whatsnew/fragments/10211.false_positive b/doc/whatsnew/fragments/10211.false_positive deleted file mode 100644 index a2ef6a9a1e..0000000000 --- a/doc/whatsnew/fragments/10211.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Remove `getopt` and `optparse` from the list of deprecated modules. - -Closes #10211 diff --git a/doc/whatsnew/fragments/10256.other b/doc/whatsnew/fragments/10256.other deleted file mode 100644 index 2feac23158..0000000000 --- a/doc/whatsnew/fragments/10256.other +++ /dev/null @@ -1,3 +0,0 @@ -Upload release assets to PyPI via Trusted Publishing. - -Closes #10256 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 8212a4a72f..d823d6bfba 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -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]: diff --git a/tbump.toml b/tbump.toml index 6fb2f3b94c..ba80b8908b 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "3.3.5a0" +current = "3.3.5" regex = ''' ^(?P0|[1-9]\d*) \.