You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#12607 proposed a new dango-model-with-dunder-unicode rule that flags any __unicode__ dunder method. We realized that this is already covered by PLW3201 (preview), but the error message could be improved to state that a dunder method is Python2 only explicitly.
The comments list a few dunder methods that were removed with python 3:
Hey @MichaReiser, I've picked up this issue and opened a pull request. This is my first contribution to the project, so I hope I've followed the contributing guidelines correctly. Any feedback is appreciated 😊!
#12607 proposed a new
dango-model-with-dunder-unicode
rule that flags any__unicode__
dunder method. We realized that this is already covered byPLW3201
(preview), but the error message could be improved to state that a dunder method is Python2 only explicitly.The comments list a few dunder methods that were removed with python 3:
DJ
] Adddjango-model-with-dunder-unicode
#12607 (comment)DJ
] Adddjango-model-with-dunder-unicode
#12607 (comment)DJ
] Adddjango-model-with-dunder-unicode
#12607 (comment)We should change
PLW3201
to use a custom error message for any dunder method that was removed with Python 3.The text was updated successfully, but these errors were encountered: