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
Wonder why it says that the returned value is not a string even for the classes that explicitly subclass "str" before "Enum" and regardless of the isinstance assertion that's good enough for mypy. (now why would mypy need the assertion even for the classes that explicitly subclass str before Enum is a completely different topic for a completely different venue)
Current behavior
E0307: __str__ does not return str (invalid-str-returned) reported for all four methods.
Steps to reproduce
Current behavior
E0307: __str__ does not return str (invalid-str-returned)
reported for all four methods.Expected behavior
Nothing reported at all.
pylint --version output
pylint 2.5.2
astroid 2.4.1
Python 3.8.3 (default, May 26 2020, 08:47:10)
[GCC 9.3.0]
xenum-py.txt
The text was updated successfully, but these errors were encountered: