Skip to content
Prev Previous commit
Fix UTG issues (iteration 3)
  • Loading branch information
coderabbitai[bot] authored Sep 11, 2025
commit 651b46c305c68f1a6d67b246435624b7a668a0b6
3 changes: 2 additions & 1 deletion tests/test_readme_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def readme_text() -> str:
if p.exists():
return _normalize(p.read_text(encoding="utf-8"))
pytest.skip("README not found at repository root")
return ""


def _extract_code_blocks(md: str, lang: Optional[str] = None) -> List[str]:
Expand All @@ -44,7 +45,7 @@ def _extract_subsection(md: str, heading: str) -> Optional[str]:

def test_readme_exists(readme_text: str) -> None:
assert isinstance(readme_text, str) and len(readme_text) > 50, "README should exist and be non-trivial"
return
return None


def test_top_badges_present(readme_text: str) -> None:
Expand Down
Loading