Loading testing/xml/lint_xml.py +2 −2 Original line number Diff line number Diff line Loading @@ -21,11 +21,11 @@ def print_colorized_diff_line(line: str): def lint(file: Path): completed = subprocess.run( ["xmllint", str(file)], capture_output=True, text=True, encoding="utf8" ["xmllint", "--format", str(file)], capture_output=True, text=True, encoding="utf8" ) if completed.returncode != 0: print(f" {str(f)}: FAIL") print(f"❌ {str(f)}: FAIL") print(f" xmlint error code {completed.returncode}") lines = completed.stderr.splitlines() for line in lines: Loading Loading
testing/xml/lint_xml.py +2 −2 Original line number Diff line number Diff line Loading @@ -21,11 +21,11 @@ def print_colorized_diff_line(line: str): def lint(file: Path): completed = subprocess.run( ["xmllint", str(file)], capture_output=True, text=True, encoding="utf8" ["xmllint", "--format", str(file)], capture_output=True, text=True, encoding="utf8" ) if completed.returncode != 0: print(f" {str(f)}: FAIL") print(f"❌ {str(f)}: FAIL") print(f" xmlint error code {completed.returncode}") lines = completed.stderr.splitlines() for line in lines: Loading