Open jsh9 opened 1 year ago
For this type of function:
def func(arg1) -> int: if arg1 == 'something': return 2 if arg1 == 'something else': return 3 raise ValueError('Invalid arg1 value')
flake8-returns gives R503 violation. I think this may be a false positive
What I Did
For this type of function:
flake8-returns gives R503 violation. I think this may be a false positive