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

SIM909: Avoid reflexive assignments #121

Merged
merged 1 commit into from Mar 28, 2022
Merged

SIM909: Avoid reflexive assignments #121

merged 1 commit into from Mar 28, 2022

Conversation

MartinThoma
Copy link
Owner

Closes #114

@MartinThoma MartinThoma merged commit 847d6a7 into master Mar 28, 2022
@MartinThoma MartinThoma deleted the issues/114 branch March 28, 2022 13:51
Comment on lines +216 to +217
"n, m = n, m",
"1:0 SIM909 Remove reflexive assignment 'n, m = n, m'",

Choose a reason for hiding this comment

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

Nice! I wouldn't have thought of that

Copy link
Owner Author

Choose a reason for hiding this comment

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

I haven't neither 😄 I always run flake8-simplify over 3 projects (scipy, openshot-qt, clana) and that's where I've seen that a case I didn't expect actually appears.

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.

[SIM909] Avoid reflexive assignment
2 participants