323 check each *.ruledump file with tidy in order to validate the HTML description""" % (script_name, script_name, script_name))
324 sys.exit(1)
325
326if __name__ == "__main__":327
328 if len(sys.argv) < 2:
329 print_usage_and_exit()
49 element.text = text
50 return element
51
52et._original_serialize_xml = et._serialize_xml 53
54
55def _serialize_xml_2(write, elem, encoding, qnames, namespaces):
53def usage():
54 return 'Usage: %s <IntelCsvFile> <OutputFile> <RootFolder> <Executable>' % sys.argv[0]
55
56if len(sys.argv) != 5: 57 print(usage())
58 exit()
59
116def usage():
117 return 'Usage: %s <cpplint.py> .... txt file can be obtain by running python cpplint.py --filter=' % sys.argv[0]
118
119if len(sys.argv) != 2:120 print(usage())
121 exit()
122
141 cppcheck_errors.append(error_tag)
142 return cppcheck_errors
143
144if __name__ == "__main__":145
146 if len(sys.argv) < 3:
147 print_usage_and_exit()
Functions and classes should have two blank lines after them, separating them from other functions and classes.