Update dependency pylint to v2.17.4#442
Merged
ctalkington merged 1 commit intomasterfrom May 28, 2023
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #442 +/- ##
=======================================
Coverage 95.21% 95.21%
=======================================
Files 9 9
Lines 815 815
Branches 121 121
=======================================
Hits 776 776
Misses 14 14
Partials 25 25 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
7c3d7f3 to
be2a6d7
Compare
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.
This PR contains the following updates:
2.17.0->2.17.4Release Notes
PyCQA/pylint
v2.17.4Compare Source
False Positives Fixed
Fix a false positive for
bad-dunder-namewhen there is a user-defined__index__method.Closes #8613
Other Bug Fixes
pyreverse: added escaping of vertical bar character in annotation labelsproduced by DOT printer to ensure it is not treated as field separator of
record-based nodes.
Closes #8603
Fixed a crash when generating a configuration file:
tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted keycaused by tomlkit
v0.11.8.Closes #8632
v2.17.3Compare Source
What's new in Pylint 2.17.3?
Release date: 2023-04-24
False Positives Fixed
Fix
unused-argumentfalse positive when__new__does not use all thearguments of
__init__.Closes #3670
Fix
unused-importfalse positive for usage ofsix.with_metaclass.Closes #7506
logging-not-lazyis not longer emitted for explicitly concatenated stringarguments.
Closes #8410
Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.
Closes #8424
Fixed
unused-importso that it observes thedummy-variables-rgxoption.Closes #8500
Uniontyped variables without assignment are no longer treated asTypeAlias.Closes #8540
Fix false positive for
positional-only-arguments-expectedwhen a functioncontains both a positional-only parameter that has a default value, and
**kwargs.Closes #8555
Fix false positive for
keyword-arg-before-varargwhen a positional-onlyparameter with a default value precedes
*args.Closes #8570
Other Bug Fixes
Improve output of
consider-using-generatormessage formin()` calls withdefault`` keyword.Closes #8563
v2.17.2Compare Source
False Positives Fixed
invalid-namenow allows for integers intypealiasnames:Good2Name,GoodName2._1BadName.Closes #8485
No longer consider
Unionas type annotation as type alias for namingchecks.
Closes #8487
unnecessary-lambdano longer warns on lambdas which use its parameters intheir body (other than the final arguments), e.g.
lambda foo: (bar if foo else baz)(foo).Closes #8496
Other Bug Fixes
Fix a crash in pyreverse when "/" characters are used in the output filename
e.g pyreverse -o png -p name/ path/to/project.
Closes #8504
v2.17.1Compare Source
False Positives Fixed
Adds
asyncSetUpto the defaultdefining-attr-methodslist to silenceattribute-defined-outside-initwarning when usingunittest.IsolatedAsyncioTestCase.Refs #8403
Other Bug Fixes
--clear-cache-post-runnow also clears LRU caches for pylint utilitiesholding references to AST nodes.
Closes #8361
Fix a crash when
TYPE_CHECKINGis used without importing it.Closes #8434
Fix a regression of
preferred-moduleswhere a partial match was usedinstead of the required full match.
Closes #8453
Internal Changes
The following utilities are deprecated in favor of the more robust
in_type_checking_blockand will be removed in pylint 3.0:
is_node_in_guarded_import_blockis_node_in_typing_guarded_import_blockis_typing_guardis_sys_guardis still available, which was part ofis_node_in_guarded_import_block.Refs #8433
Configuration
📅 Schedule: Branch creation - "before 2am" in timezone America/Chicago, 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.