import inspect


def get_class_attributes(cls) -> list[tuple]:
    """Gets all non-dunder sttributes of a class, excluding methods."""
    attributes = inspect.getmembers(cls, lambda a: not (inspect.isroutine(a)))
    return [
        a for a in attributes if not (a[0].startswith("__") and a[0].endswith("__"))
    ]