Interesting. It seems we have some hacking rule against stuff like this, which seems to be ignored:
def assert_equal_none(logical_line): """Check for assertEqual(A, None) or assertEqual(None, A) sentences
N318 """
There are plenty of other misuses of assertIsNone too. Something like this should be fixed in master properly.
Interesting. It seems we have some hacking rule against stuff like this, which seems to be ignored:
def assert_ equal_none( logical_ line):
"""Check for assertEqual(A, None) or assertEqual(None, A) sentences
N318
"""
There are plenty of other misuses of assertIsNone too. Something like this should be fixed in master properly.