From 49584ada6236c9802c2490a106ef20ebedaa6cf3 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Thu, 4 Apr 2024 11:01:06 +0200 Subject: [PATCH] remove frontmatter description lint --- scripts/lint.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/lint.py b/scripts/lint.py index 933d504ec961..2603c41a670c 100755 --- a/scripts/lint.py +++ b/scripts/lint.py @@ -665,11 +665,7 @@ def lint_example_description(filepath: str, fm: Frontmatter) -> list[str]: if not filepath.startswith("./examples/python") or not filepath.endswith("README.md"): return [] - desc = fm.get("description", "") - if len(desc) > 180: - return [f"Frontmatter: description is too long ({len(desc)} > 180)"] - else: - return [] + return [] def lint_frontmatter(filepath: str, content: str) -> list[str]: