IMO, the following should not emit an error:
class BooleanExpression:
def __init__(self, value: bool) -> None:
self.value = value
BooleanExpression(True)
Assuming that the function/class is properly named, using value=True in this case shouldn't be necessary. That is just my opinion though, so having the option to turn it off in this particular case would be nice.
IMO, the following should not emit an error:
Assuming that the function/class is properly named, using
value=Truein this case shouldn't be necessary. That is just my opinion though, so having the option to turn it off in this particular case would be nice.