@staticmethod<EOL><INDENT>def format_value(value):<DEDENT>
if isinstance(value, (bool, np.bool_)):<EOL><INDENT>return str(value)<EOL><DEDENT>elif isinstance(value, (int, np.integer)):<EOL><INDENT>return '<STR_LIT>'.format(value)<EOL><DEDENT>elif isinstance(value, (float, np.floating)):<EOL><INDENT>return '<STR_LIT>'.format(value)<EOL><DEDENT>else:<EOL><INDENT>return str(value)<EOL><DEDENT>
Pretty-print an arbitrary value.