Code: Select all
x = (0, 0)
def is_good() -> bool:
return False
if x and is_good: # I'd like Mypy to report 2 errors here
print('this will be printed')
Code: Select all
x = (0, 0)
def is_good() -> bool:
return False
if x and is_good: # I'd like Mypy to report 2 errors here
print('this will be printed')