fix: allow repeatable repository verification

This commit is contained in:
2026-07-18 18:29:03 -04:00
parent b38da7d53f
commit afc6bf57a4
+1 -1
View File
@@ -75,7 +75,7 @@ def check_markdown_links() -> None:
def check_placeholders() -> None: def check_placeholders() -> None:
allowed_roots = {"crates", "docs", "scripts", ".github"} allowed_roots = {"crates", "docs", "scripts", "target", ".github"}
for child in ROOT.iterdir(): for child in ROOT.iterdir():
if child.is_dir() and not child.name.startswith(".") and child.name not in allowed_roots: if child.is_dir() and not child.name.startswith(".") and child.name not in allowed_roots:
fail(f"unexpected top-level directory: {child.name}") fail(f"unexpected top-level directory: {child.name}")