def _find_factors(number: int) -> list:
    """Get all factors of a given number

    :param number: The number we're finding the factor of
    :type number: int
    :returns: A list of all the factors.
    :rtype: list"""

    factors = []

    for digit in range(1, number//2 + 1):
        if number % digit == 0:
            factors.append(digit)

    factors.append(number)

    return factors