def get_rules():
    bundled = Path(__file__).parent \
        .joinpath('rules') \
        .glob('*.py')
    user = settings.user_dir.joinpath('rules').glob('*.py')
    return sorted(get_loaded_rules(sorted(bundled) + sorted(user)),
                  key=lambda rule: rule.priority)
Return the value associated with attribute name; if it is not
dataset/ETHPy150Open nvbn/thefuck/thefuck/corrector.py/get_rules--crossover with--dataset/ETHPy150Open 64studio/pdk/pdk/xml_legacy/sax/saxlib.py/AttributeList.get