<s> from pylint . checkers . base import BasicErrorChecker <EOL> from pylint_plugin_utils import suppress_message <EOL> from astroid import scoped_nodes <EOL> def is_load_function ( node ) : <EOL> if node . decorators is not None : <EOL> return any ( <EOL> decorator . func . name == '<STR_LIT>' <EOL> for decorator in node . decorators . nodes <EOL> if isinstance ( decorator , scoped_nodes . CallFunc ) <EOL> and hasattr ( decorator . func , '<STR_LIT:name>' ) ) <EOL> return False <EOL> def apply_augmentations ( linter ) : <EOL> suppress_message ( linter , BasicErrorChecker . visit_function , '<STR_LIT>' , is_load_function ) </s>
