def format_pylint_disables(error_names, tag=True):
tag_str = "<STR_LIT>" if tag else "<STR_LIT>"<EOL>if error_names:<EOL><INDENT>return u"<STR_LIT>".format(<EOL>disabled="<STR_LIT:U+002CU+0020>".join(sorted(error_names)),<EOL>tag=tag_str,<EOL>)<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>
Format a list of error_names into a 'pylint: disable=' line.