invalid-format-returned / E0311#
__format__ does not return str
Used when a __format__ method returns something which is not a string
# This is a placeholder for correct code for this message.
You can help us make the doc better by contributing !
Created by the classes checker.