Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a9d9dc3
Fix suggestion for min-max with expressions (#9131) (#9141)
github-actions[bot] Oct 11, 2023
a77f0c1
Respect py-version for ``inconsistent-quotes`` inside f-strings (#915…
github-actions[bot] Oct 16, 2023
759e2cc
Fix `used-before-assignment` FP for generic type syntax (Py 3.12) (#9…
github-actions[bot] Oct 16, 2023
792da24
Escape special symbols and newlines in messages. (#9164) (#9165)
github-actions[bot] Oct 18, 2023
31aca81
Fixes duplicate-code check with ignore-imports (#9147) (#9176)
github-actions[bot] Oct 22, 2023
efee961
Bump pylint to 3.0.2, update changelog
jacobtylerwalls Oct 22, 2023
53d4541
Fix `undefined-variable` etc for Python 3.12 generic type syntax (#91…
github-actions[bot] Oct 29, 2023
0273db7
Fix false positive for ``unnecessary-lambda``. (#9149) (#9200)
github-actions[bot] Oct 29, 2023
dc11223
[todos] Fix the todos version and the warnings' text (#9202) (#9204)
github-actions[bot] Oct 30, 2023
a60ddd1
Fix incorrect suggestion for unnecessary-comprehension (#9172) (#9242)
github-actions[bot] Nov 17, 2023
7f01d83
Fix doc generation in implicit-str-concat
Pierre-Sassoulas Nov 26, 2023
81f0f2e
[Backport maintenance/3.0.x] [bugfix] Find files with ./ as input wit…
github-actions[bot] Dec 7, 2023
d0d5c91
[pointless-string-statement] Ignore docstrings on py3.12 type aliases…
github-actions[bot] Dec 8, 2023
fea5483
[wrong-exception-operation] Fix FP for tuple concatenation of excepti…
github-actions[bot] Dec 10, 2023
54687e7
Disallow isort 5.13.0 (#9290) (#9292)
github-actions[bot] Dec 10, 2023
1a5ffc1
Bump pylint to 3.0.3, update changelog
jacobtylerwalls Dec 11, 2023
1634683
Merge branch 'maintenance/3.0.x'
jacobtylerwalls Dec 11, 2023
4860b82
Removed mooted changelog fragments from 3.0.3 release
jacobtylerwalls Dec 11, 2023
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
52 changes: 52 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,58 @@ easier to parse and provides more info, here's a sample output.

.. towncrier release notes start

What's new in Pylint 3.0.3?
---------------------------
Release date: 2023-12-11


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

- Fixed false positive for ``unnecessary-lambda`` when the call has keyword arguments but not the lambda.

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

- Fixed incorrect suggestion for shallow copy in unnecessary-comprehension

Example of the suggestion:
#pylint: disable=missing-module-docstring
a = [1, 2, 3]
b = [x for x in a]
b[0] = 0
print(a) # [1, 2, 3]

After changing b = [x for x in a] to b = a based on the suggestion, the script now prints [0, 2, 3]. The correct suggestion should be use list(a) to preserve the original behavior.

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

- Fix false positives for ``undefined-variable`` and ``unused-argument`` for
classes and functions using Python 3.12 generic type syntax.

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

- Fixed ``pointless-string-statement`` false positive for docstrings
on Python 3.12 type aliases.

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

- Fix false positive for ``invalid-exception-operation`` when concatenating tuples
of exception types.

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



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

- Fix a bug where pylint was unable to walk recursively through a directory if the
directory has an `__init__.py` file.

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



What's new in Pylint 3.0.2?
---------------------------
Release date: 2023-10-22
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9148.false_positive

This file was deleted.

12 changes: 0 additions & 12 deletions doc/whatsnew/fragments/9172.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9193.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9210.bugfix

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9268.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9288.false_positive

This file was deleted.