Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary lambda expression #2997

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

deepsource-autofix[bot]
Copy link
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 <wenqil@nvidia.com>

* remove repeated init

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes import, unused vars

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Wenqi Li <wenqil@nvidia.com>
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 <wenqil@nvidia.com>

* remove repeated init

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes import, unused vars

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Wenqi Li <wenqil@nvidia.com>
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