

def get_rules(view):
    'Get auto-popup scope rule.'
    rules = view.settings().get('color_helper.scan', {
        
    })
    return (rules if view.get('enabled', False) else None)

dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py get_rules/VarMisuse@34/52 `rules`->`view`