def parse_custom_settings(sections, custom_settings_list, origin, line_parser):
 for setting_definition in custom_settings_list:
  (_, key_tuples, value, _) = line_parser.parse(setting_definition)
  for key_tuple in key_tuples:
   append_to_sections(sections, key=key_tuple[1], value=value, origin=origin, section_name=key_tuple[0], from_cli=True)

def parse_custom_settings ( sections , custom_settings_list , origin , line_parser ) : for setting_definition in custom_settings_list : ( _ , key_tuples , value , _ ) = line_parser . parse ( setting_definition ) for key_tuple in key_tuples : append_to_sections ( sections , key = key_tuple [ 1 ] , value = value , origin = origin , section_name = key_tuple [ 0 ] , from_cli = True )
parses the custom settings given to coala via -s something=value .