⬆️ Update dependency pylint to v3.0.3#1183
Merged
renovate[bot] merged 1 commit intomainfrom Dec 12, 2023
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1183 +/- ##
=======================================
Coverage 58.26% 58.26%
=======================================
Files 4 4
Lines 599 599
Branches 147 147
=======================================
Hits 349 349
Misses 229 229
Partials 21 21 ☔ View full report in Codecov by Sentry. |
|
Kudos, SonarCloud Quality Gate passed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.2->3.0.3Release Notes
pylint-dev/pylint (pylint)
v3.0.3Compare Source
What's new in Pylint 3.0.3?
Release date: 2023-12-11
False Positives Fixed
Fixed false positive for
unnecessary-lambdawhen 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-variableandunused-argumentforclasses and functions using Python 3.12 generic type syntax.
Closes #9193
Fixed
pointless-string-statementfalse positive for docstringson Python 3.12 type aliases.
Closes #9268
Fix false positive for
invalid-exception-operationwhen 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__.pyfile.Closes #9210
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.