-
-
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
Suggestion conflicting with black 2024 style for inlined semantic / empty classes #9398
Comments
Figure we should exempt Ellipsis and Pass from the calculation. |
class Apple: pass |
Either way, but I don't think it hurts to exempt pass from the pylint check. I'm surprised black treats them differently. |
Agree with @jacobtylerwalls, let's make pylint consistent for those not using black. |
After looking into it, a good half of our examples and functional tests are just something with |
Are we sure that's not just a shortcut taken by test authors? Is there any original discussion about the check? |
So it seems it's a decision that was done a long time ago but not in Logilab so we have a little context, I've done a |
…9697) (#9698) * Add more test cases to cover pass / ... * Define the confidence as HIGH * Exclude the class with Ellipsis from the check Closes #9398 (cherry picked from commit afd5edf) Co-authored-by: Pierre Sassoulas <[email protected]>
Bug description
Command used
Pylint output
Expected behavior
No conflict with black I guess ?
Pylint version
The text was updated successfully, but these errors were encountered: