diff --git a/scripts/ci/run_yamllint.py b/scripts/ci/run_yamllint.py index 9e2f35265..575da7797 100644 --- a/scripts/ci/run_yamllint.py +++ b/scripts/ci/run_yamllint.py @@ -25,7 +25,7 @@ def front_matter(fileobj: typing.TextIO, filepath: str) -> str: if delimiters == 2 or line.startswith("# "): break lines.append(line) - + if delimiters == 0: return "" if delimiters == 2: