infra: migrate to uv (#29566)

This commit is contained in:
ccurme
2025-02-06 13:36:26 -05:00
committed by GitHub
parent 9da06e6e94
commit d172984c91
168 changed files with 56270 additions and 62303 deletions

View File

@@ -427,10 +427,10 @@ class HTMLSectionSplitter:
headers = list(self.headers_to_split_on.keys())
sections: list[dict[str, str | None]] = []
headers = soup.find_all(["body"] + headers)
headers = soup.find_all(["body"] + headers) # type: ignore[assignment]
for i, header in enumerate(headers):
header_element: PageElement = header
header_element = cast(PageElement, header)
if i == 0:
current_header = "#TITLE#"
current_header_tag = "h1"