Loading testing/lint_asn1.py +0 −1 Original line number Diff line number Diff line Loading @@ -348,7 +348,6 @@ def D45(t, context): return errors def lintASN1File(asnFile, exceptions): errors = [] suppressed = [] Loading testing/lint_xml.py +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ if __name__ == "__main__": errors = 0 print("-------------------------------------------------") print(f"Linting XML / XSD files...") print("Linting XML / XSD files...") for f in files: new_errors = lint(f) Loading testing/xsd_process.py +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ from xmlschema import XMLSchema, XMLSchemaParseError def getError(e): try: return f"{etree_tostring(e.elem, e.namespaces, ' ', 20)} - {e.message}" except Exception as ex: except Exception: return repr(e) Loading Loading
testing/lint_asn1.py +0 −1 Original line number Diff line number Diff line Loading @@ -348,7 +348,6 @@ def D45(t, context): return errors def lintASN1File(asnFile, exceptions): errors = [] suppressed = [] Loading
testing/lint_xml.py +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ if __name__ == "__main__": errors = 0 print("-------------------------------------------------") print(f"Linting XML / XSD files...") print("Linting XML / XSD files...") for f in files: new_errors = lint(f) Loading
testing/xsd_process.py +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ from xmlschema import XMLSchema, XMLSchemaParseError def getError(e): try: return f"{etree_tostring(e.elem, e.namespaces, ' ', 20)} - {e.message}" except Exception as ex: except Exception: return repr(e) Loading