How to format a python assert statement that complies with PEP8?
How to format a python assert statement that complies with PEP8? Question: How does one format a long assert statement that complies with PEP8? Please ignore the contrived nature of my example. def afunc(some_param_name): assert isinstance(some_param_name, SomeClassName), ‘some_param_name must be an instance of SomeClassName, silly goose!’ One cannot wrap it in parenthesis, because that changes …