deepsourcestatus / test-repository

Global variable is declared but not used PYL-W0602
Bug risk
Major
7 months ago7 months old
Using global for 'user' but no assignment is done
 98
 99
100def get_active_users():
101    global user102    sqlalchemy.select([user.id, user.name]).where(
103        (user.org == "DeepSource") and (user.active == True)
104    )