-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Possible overlap between SIM300 and PLC2201 #1954
Comments
Yeah I agree with this. My gut reaction is to remove |
I'd also prefer to keep SIM300. Regarding #1941: Maybe introduce a column like "aliases" in the suppurted rules section and also treat these codes as aliases? Meaning |
These rules are actually slightly different because the Pylint rule flags any comparison (e.g., |
I'll probably extend SIM300 to flag those cases too. |
From my understanding the rules C2201 (PLC2201 in ruff) and SIM300 are pretty much the same.
If that's the case I'd suggest to drop one in favour of the other.
PLC2201 got introduced in #1023, SIM300 in #1539.
The text was updated successfully, but these errors were encountered: