def checkLicense (files): error = False for file in files: if isTextFile(file) and isSourceFile(file): if not checkFileLicense(file): error = True return not error
def checkInvalidLiterals(files): error = False for file in files: if isTextFile(file): if not checkFileInvalidLiterals(file): error = True return not error
def checkWhitespace(files): error = False for file in files: if isTextFile(file): if not checkFileWhitespace(file): error = True return not error
def checkLicense(files): error = False for file in files: if isTextFile(file) and isSourceFile(file): if not checkFileLicense(file): error = True return not error
def checkEncoding(files): error = False for file in files: if isTextFile(file): if not checkFileEncoding(file): error = True return not error
def checkInvalidLiterals (files): error = False for file in files: if isTextFile(file): if not checkFileInvalidLiterals(file): error = True return not error