-
-
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
eq-without-hash
check removed
#5025
Comments
The warning was removed as part of #4942. https://docs.python.org/3/reference/datamodel.html#object.__hash__ |
I saw #4942, but in Python 3, automatic reset of I didn't check, but I suspect some other checks that were introduced for checking the correctness of porting, and are now removed, are in fact pretty useful in Python 3-only code too. |
@jolaf I went looked through the list twice, once for the review and the second time for your issue. Keep in mind that all of them had been disabled by default already. Your issue is the first one we've gotten about this. |
@cdce8p Yeah, I think you're right. |
Let's move that to an existing checker, I think it could even be a default check ? Thank you for pointing that out @jolaf I did not use it myself as everything in the python3 porting checker was disabled by default. |
eq-without-hash
check removed
* Reinstate checks from the python3 checker that are still useful for py3 Closes #5025 Co-authored-by: Daniël van Noord <[email protected]>
Why is this and other options still present in the documentation for pylint 2.16 if it became deprecated since 2.11? Please reopen the issue. Seems like a documentation bug. |
It was restored in #5843 following this very issue that argue for it to be reinstated. |
Seems to be still present in the pypi package repo, from where I installed pylint:
|
You need to activate the corresponding extension now, see notes from the link you pasted:
|
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
Formerly
eq-without-hash
error was issued, but no more since pylint 2.11.Pylint version
OS / Environment
Ubuntu 20.04.3 LTS \n \l
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: