fix: allow repeatable repository verification
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user