Skip to content

Commit 7d60842

Browse files
committed
ci: Ignore type warning about soup in test
1 parent 7cabacf commit 7d60842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_end_to_end.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
def _normalize_html(html: str) -> str:
2323
soup = bs4.BeautifulSoup(html, features="html.parser")
24-
html = soup.prettify()
24+
html = soup.prettify() # type: ignore[assignment]
2525
html = re.sub(r"\b(0x)[a-f0-9]+\b", r"\1...", html)
2626
html = re.sub(r"^(Build Date UTC ?:).+", r"\1...", html, flags=re.MULTILINE)
2727
html = re.sub(r"\b[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\b", r"...", html)

0 commit comments

Comments
 (0)