Skip to content

Remove unnecessary lambda expression#2997

Merged
wyli merged 1 commit intodeepsource-fix-56559bf7from
deepsource-fix-b93a250e
Sep 21, 2021
Merged

Remove unnecessary lambda expression#2997
wyli merged 1 commit intodeepsource-fix-56559bf7from
deepsource-fix-b93a250e

Conversation

@deepsource-autofix
Copy link
Copy Markdown
Contributor

No description provided.

@wyli wyli changed the base branch from dev to deepsource-fix-56559bf7 September 21, 2021 21:05
@wyli wyli merged commit 9d4e01c into deepsource-fix-56559bf7 Sep 21, 2021
@wyli wyli deleted the deepsource-fix-b93a250e branch September 21, 2021 21:05
wyli added a commit that referenced this pull request Sep 22, 2021
…tatement (#2996)

* Refactor unnecessary `else` / `elif` when `if` block has a `return` statement

* Remove unnecessary lambda expression (#2997)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* type fixes

Signed-off-by: Wenqi Li <[email protected]>

* remove repeated init

Signed-off-by: Wenqi Li <[email protected]>

* fixes import, unused vars

Signed-off-by: Wenqi Li <[email protected]>

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request Sep 22, 2021
…tatement (#2996)

* Refactor unnecessary `else` / `elif` when `if` block has a `return` statement

* Remove unnecessary lambda expression (#2997)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* type fixes

Signed-off-by: Wenqi Li <[email protected]>

* remove repeated init

Signed-off-by: Wenqi Li <[email protected]>

* fixes import, unused vars

Signed-off-by: Wenqi Li <[email protected]>

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Wenqi Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant