def lint_tribe(character, prefs):
    """
    Lint tribe and auspice issues
    """
    problems = []
    all_tribes = prefs.get('werewolf.tribes.moon') + prefs.get('werewolf.tribes.pure')

    # Make sure tribe is present and recognized
    if not character.tags('tribe').filled:
        return problems

    tribe = character.tags('tribe').first_value()
    tribe_key = tribe.lower()
    if not tribe_key in all_tribes:
        problems.append("Unrecognized tribe '{}'".format(tribe))

    # Get auspice
    if character.tags('auspice').filled:
        auspice = character.tags('auspice')[0]
        # Pure should not have an auspice
        if tribe_key in prefs.get('werewolf.tribes.pure'):
            problems.append('Auspice present, but werewolf is Pure')
        # regardless, auspice must be recognized
        if auspice.lower() not in prefs.get('werewolf.auspices'):
            problems.append("Unrecognized auspice '{}'".format(auspice))
    else:
        # Non-pure must have an auspice
        if tribe_key in prefs.get('werewolf.tribes.moon'):
            problems.append('Missing auspice')

    return problems