sassoftware / python-sasctl

Keyword argument defined before variable positional arguments PYL-W1113
Anti-pattern
Major
1 occurrence in this check
Keyword argument before variable positional arguments list in the definition of __init__ function
 8class AuthenticationError(ValueError):
 9    """A user could not be authenticated."""
10
11    def __init__(self, username=None, msg=None, *args, **kwargs):12        if msg is None:
13            if username:
14                msg = "Authentication failed for user '%s'." % username