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

WPS312 duplicates PLR0124 #3239

Closed
sobolevn opened this issue Dec 27, 2024 · 0 comments · Fixed by #3242
Closed

WPS312 duplicates PLR0124 #3239

sobolevn opened this issue Dec 27, 2024 · 0 comments · Fixed by #3242
Labels
bug Something isn't working good first issue Entrypoint to the project help wanted Extra attention is needed level:starter Good for newcomers

Comments

@sobolevn
Copy link
Member

» flake8 ex.py

ex.py

  1:1      WPS312 Found comparison of a variable to itself
  other == other
  ^

vs

» ruff check ex.py --no-fix                
ex.py:1:1: PLR0124 Name compared with itself, consider replacing `other == other`
  |
1 | other == other
  | ^^^^^ PLR0124
  |

We need to disable this rule in 1.0.1

@sobolevn sobolevn added bug Something isn't working help wanted Extra attention is needed level:starter Good for newcomers good first issue Entrypoint to the project labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Entrypoint to the project help wanted Extra attention is needed level:starter Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant