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

chore: Refactor unnecessary else / elif when if block has a return statement #7331

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

deepsource-autofix[bot]
Copy link
Contributor

No description provided.

@iamareebjamal iamareebjamal changed the title Refactor unnecessary else / elif when if block has a return statement chore: Refactor unnecessary else / elif when if block has a return statement Oct 6, 2020
@auto-label auto-label bot added the chore label Oct 6, 2020
else:
# the exception will be caught in check_migrations function, so no need for sentry catching exception here
return False, result[1]
# the exception will be caught in check_migrations function, so no need for sentry catching exception here

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (114 > 90 characters)

@iamareebjamal iamareebjamal merged commit 90dba4d into development Oct 6, 2020
@iamareebjamal iamareebjamal deleted the deepsource-fix-402726cd branch October 6, 2020 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants