-
-
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
Bad dunder name is flagging __index__ #8613
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Comments
Redoubts
added
the
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
label
Apr 24, 2023
there's an obvious workaround in the config, but I think that shouldn't be needed |
Pierre-Sassoulas
added
Invalid
Not a bug, already exists or already fixed
and removed
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
labels
Apr 24, 2023
But I’m seeing this on 2.17?
…On Mon, Apr 24, 2023 at 10:28 AM Mark Byrne ***@***.***> wrote:
Closed #8613 <#8613> as not
planned.
—
Reply to this email directly, view it on GitHub
<#8613 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASSQHJBMRXRDNFHXRYFM7LXC2EYLANCNFSM6AAAAAAXJRMKGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry @Redoubts! Re-opening. I didn't realise this is an extension. The link I shared was a fix for calling pylint example.py --load-plugins=pylint.extensions.dunder |
Pierre-Sassoulas
added
False Positive 🦟
A message is emitted but nothing is wrong with the code
and removed
Invalid
Not a bug, already exists or already fixed
labels
Apr 24, 2023
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Apr 24, 2023
…ined ``__index__`` method. Closes pylint-dev#8613
mbyrnepr2
added
the
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
label
Apr 24, 2023
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Apr 24, 2023
…ined ``__index__`` method. Closes pylint-dev#8613
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Apr 24, 2023
…ined ``__index__`` method. Closes pylint-dev#8613
Pierre-Sassoulas
pushed a commit
that referenced
this issue
Apr 24, 2023
…ined ``__index__`` method. (#8619) (#8622) Closes #8613 (cherry picked from commit f223c6d) Co-authored-by: Mark Byrne <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
consider
this will flag index as a bad dunder, even though it is valid to do.
Configuration
No response
Command used
Pylint output
************* Module x x.py:2:4: W3201: Bad or misspelled dunder method name __index__. (bad-dunder-name)
Expected behavior
no lint
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: