From 59743055f913945ea3f202c8acdeba4d02ef271f Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Fri, 24 Jun 2022 02:14:10 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- scripts/ci/run_yamllint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: