#NEWLINE# @ skip_ignored_lines #NEWLINE# def check_objects_imports_in_cli( logical_line , physical_line , filename ) : #NEWLINE# #INDENT# 'Ensure that CLI modules do not use ``rally.common.objects``\n\n    N361\n    ' #NEWLINE# if ( ( not filename . startswith ( './rally/cli' ) ) or ( filename == './rally/cli/commands/show.py' ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if re_objects_import . search ( logical_line ) : #NEWLINE# #INDENT# ( yield ( 0 , 'N361 CLI modules do not allow to work with `rally.common.objects``.' ) )