fossasia / open-event-server

Consider using all PY-W0075
Anti-pattern
Major
5 months ago2 years old
Loop can be refactored to use all
 32    """
 33    Checks config of SMTP
 34    """
 35    for field in config: 36        if field is None:
 37            return False
 38    return True