Open vectro opened 2 years ago
flake8-return version 1.1.3 allows this construct
def myfunc(x): if x == 5: return None assert False
but disallows this one
def myfunc(x): if x == 5: return None raise NotImplementedError()
I think they should be treated the same?
flake8-return version 1.1.3 allows this construct
but disallows this one
I think they should be treated the same?