Skip to content

Commit

Permalink
no need for lint bypass anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 26, 2024
1 parent 5c343a4 commit 1bd6cd7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,6 @@ def lint_file(filepath: str, args: Any) -> int:
def lint_crate_docs(should_ignore: Callable[[Any], bool]) -> int:
"""Make sure ARCHITECTURE.md talks about every single crate we have."""

# These crates will replace existing ones and won't ever be published as-is.
tmp_crates = ["re_query"]

crates_dir = Path("crates")
architecture_md_file = Path("ARCHITECTURE.md")

Expand All @@ -1002,9 +999,6 @@ def lint_crate_docs(should_ignore: Callable[[Any], bool]) -> int:
if crate_name in listed_crates:
del listed_crates[crate_name]

if should_ignore(crate) or crate.name in tmp_crates:
continue

if not re.search(r"\b" + crate_name + r"\b", architecture_md):
print(f"{architecture_md_file}: missing documentation for crate {crate.name}")
error_count += 1
Expand Down

0 comments on commit 1bd6cd7

Please sign in to comment.