Release branch for 2.17.5#8887
Merged
Pierre-Sassoulas merged 1 commit intomaintenance/2.17.xfrom Jul 26, 2023
Merged
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## maintenance/2.17.x #8887 +/- ##
===================================================
Coverage 95.57% 95.57%
===================================================
Files 178 178
Lines 18844 18844
===================================================
Hits 18010 18010
Misses 834 834
|
Member
Author
|
We won't merge this back in the main branch because 3.0 is too far away from 2.X at this point. This would break the pre-commit autoupdate, so we might do a history only merge. |
| confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"] | ||
|
|
||
| disable = ["raw-checker-failed", "bad-inline-option", "locally-disabled", "file-ignored", "suppressed-message", "useless-suppression", "deprecated-pragma", "use-symbolic-message-instead", "consider-using-augmented-assign"] | ||
| disable = ["consider-using-augmented-assign"] |
Member
There was a problem hiding this comment.
Quick question: from where did this change arise?
When I --generate-toml-config on 2.17.5 I get:
disable = ["raw-checker-failed", "bad-inline-option", "locally-disabled", "file-ignored", "suppressed-message", "deprecated-pragma", "consider-using-augmented-assign", "attribute-defined-outside-init", "invalid-name", "missing-module-docstring", "missing-class-docstring", "missing-function-docstring", "protected-access", "too-few-public-methods", "line-too-long", "too-many-lines", "trailing-whitespace", "missing-final-newline", "trailing-newlines", "bad-indentation", "unnecessary-semicolon", "multiple-statements", "superfluous-parens", "mixed-line-endings", "unexpected-line-ending-format", "fixme"]
Member
Author
There was a problem hiding this comment.
Applied tox -e docs (probably from tbump)
Member
There was a problem hiding this comment.
Interesting. So there's a bug somewhere here, then?
Member
Author
There was a problem hiding this comment.
Maybe it's based on the local pylintrc ?
This was referenced Aug 1, 2023
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What's new in Pylint 2.17.5?
Release date: 2023-07-26
False Positives Fixed
Fix a false positive for
unused-variablewhen there is an import in aif TYPE_CHECKING:block andallow-global-unused-variablesis set tonoin the configuration.Closes False positive
unused-variableforTYPE_CHECKINGimports #8696Fix false positives generated when supplying arguments as
**kwargsto IOcalls like open().
Closes False positive
unspecified-encodingwhen passing encoding as kwarg #8719Fix a false positive where pylint was ignoring method calls annotated as
NoReturnduring theinconsistent-return-statementscheck.Closes False positive for
inconsistent-return-statementswith method annotated withNoReturnreturn type #8747Exempt parents with only type annotations from the
invalid-enum-extensionmessage.
Closes False positive
invalid-enum-extensionfor Enum parent class with annotations #8830Other Bug Fixes
Fixed crash when a call to
super()was placed after an operator (e.g.not).Closes Crash using
isinstance+superdue to Astroid #8554Fix crash for
modified-while-iteratingchecker when deletingmembers of a dict returned from a call.
Closes Crash: AttributeError: 'Call' object has no attribute 'name' #8598
Fix crash in
invalid-metaclasscheck when a metaclass had duplicatebases.
Closes Crash "Fatal error while checking" with metaclass #8698
Avoid
consider-using-f-stringon modulos with brackets in template.Closes Avoid
consider-using-f-stringon modulos with brackets in template #8720.Fix a crash when
__all__exists but cannot be inferred.Closes The undefined variable '__all__' results in an inference failed #8740
Fix crash when a variable is assigned to a class attribute of identical name.
Closes Setting the identical name between an attribute and a variable causes a fatal error #8754
Fixed a crash when calling
copy.copy()without arguments.Closes no-argument call to copy.copy() crashes #8774
Other Changes
Fix a crash when a
nonlocalis defined at module-level.Closes Checking incorrect usage of the keyword 'nonlocal' results in fatal errors. #8735