def METHOD_NAME(self):
    """Loads settings from file."""
    settings = load_source(
        'settings', text_type(self.user_dir.joinpath('settings.py')))
    return {key: getattr(settings, key)
            for key in const.DEFAULT_SETTINGS.keys()
            if hasattr(settings, key)}