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

(PYL-R1723) Unnecessary else / elif used after break #31

Open
mayankgoyal-13 opened this issue Oct 1, 2021 · 0 comments
Open

(PYL-R1723) Unnecessary else / elif used after break #31

mayankgoyal-13 opened this issue Oct 1, 2021 · 0 comments

Comments

@mayankgoyal-13
Copy link

Description

The use of else or elif becomes redundant and can be dropped if the last statement under the leading if / elif block is a break statement. In the case of an elif after break, it can be written as a separate if block. For else blocks after break, the …

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/neozhaoliang/pywonderland/issue/PYL-R1723/occurrences/

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

No branches or pull requests

1 participant