def test_unusedVariableAsLocals():
    flakes('''
    def a():
        b = 1
        return locals()
    ''')
Using locals() it is perfectly valid to have unused variables.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_unusedVariableAsLocals