Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle more
unnecessary-lambda
cases when dealing with additional k…
…wargs in wrapped calls Close #2845
- Loading branch information
1 parent
b4721fb
commit c8db761
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,5 @@ | |
|
||
# Don't warn about this. | ||
_ = lambda: code().analysis() | ||
|
||
_ = lambda **kwargs: dict(bar=42, **kwargs) |