def pyflakes_filter(line):
    """
    Standard filter for pyflakes.
    """

    # Allow argweaver to be imported without being used since it
    # imports argweaver.deps
    if "'argweaver' imported but unused" in line:
        return False

    # allow summon.core to use 'import *'
    if 'from summon.core import *' in line:
        return False

    if 'argweaver/bottle.py' in line:
        return False

    return True