ci(deps): Update dependency pylint to v3.0.3 #258
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1
->3.0.3
Release Notes
pylint-dev/pylint (pylint)
v3.0.3
Compare Source
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
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
Fix false positives for
undefined-variable
andunused-argument
forclasses and functions using Python 3.12 generic type syntax.
Closes #9193
Fixed
pointless-string-statement
false positive for docstringson Python 3.12 type aliases.
Closes #9268
Fix false positive for
invalid-exception-operation
when concatenating tuplesof exception types.
Closes #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
v3.0.2
Compare Source
False Positives Fixed
Fix
used-before-assignment
false positive for generic type syntax (PEP 695, Python 3.12).Closes #9110
Other Bug Fixes
Escape special symbols and newlines in messages.
Closes #7874
Fixes suggestion for
nested-min-max
for expressions with additive operators, list and dict comprehensions.Closes #8524
Fixes ignoring conditional imports with
ignore-imports=y
.Closes #8914
Emit
inconsistent-quotes
for f-strings with 3.12 interpreter only if targeting pre-3.12 versions.Closes #9113
Configuration
📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone America/Lima, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.