Skip to content

Commit

Permalink
remove frontmatter description lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Apr 4, 2024
1 parent ebc3b3d commit 49584ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 49584ad

Please sign in to comment.