Check if the repo has a ``.kwalitee.yaml`` file.

def _read_local_kwalitee_configuration(directory="."):
    """Check if the repo has a ``.kwalitee.yaml`` file."""
    filepath = os.path.abspath(os.path.join(directory, '.kwalitee.yml'))
    data = {}
    if os.path.exists(filepath):
        with open(filepath, 'r') as file_read:
            data = yaml.load(file_read.read())
    return data