from typing import Dict
from typing import List


def validate_entries(entry: Dict) -> List[str]:
    """Validate entry

    :param entry: dictionary with the following keys ['description', 'file']
    :return: list of errors
    """
    errors = []

    # Maybe it would be wiser to have some minimal required amount of characters.
    if len(entry['description'].strip()) == 0:
        errors.append('Your description is empty. Please provide a description.')

    if entry['file'] is None:
        errors.append('You did not attach a file. Please attach your file.')

    return errors