wpiformat/wpiformat/includeorder.py
def include_is_header(config_file, file_name, include_name):
        """Return True if include name has header extension.

        Keyword arguments:
        config_file -- Config object
        file_name -- file name string
        include_name -- include name string

        Returns true if include name is a header.
        """
        if not config_file.is_header_file(include_name):
            print("Error: " + file_name + ": include '" + include_name + \
                "' has extension not in header list")
            return False
        else:
            return True
Return True if include name has header extension.

        Keyword arguments:
        config_file -- Config object
        file_name -- file name string
        include_name -- include name string

        Returns true if include name is a header.
        
Return True if include name has header extension.

Returns true if include name is a header.
Return True if include name has header extension . Returns true if include name is a header .
def include_is_header(config_file, file_name, include_name):
        if not config_file.is_header_file(include_name):
            print("Error: " + file_name + ": include '" + include_name + \
                "' has extension not in header list")
            return False
        else:
            return True
def include_is_header ( config_file , file_name , include_name ) : if not config_file . is_header_file ( include_name ) : print ( "Error: " + file_name + ": include '" + include_name + "' has extension not in header list" ) return False else : return True
Return True if include name has header extension.
Return True if include name has header extension .
"""Return True if include name has header extension.

        Keyword arguments:
        config_file -- Config object
        file_name -- file name string
        include_name -- include name string

        Returns true if include name is a header.
        """
config_file
file_name
include_name