Skip to content

Commit f23d094

Browse files
committed
CI: Adding workaround for autodoc typehint parsing issue
1 parent 8747e97 commit f23d094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
from pathlib import Path
110110
import re
111111
text = Path("./warnings.txt").read_text().strip()
112-
expected_warning_patterns = [r"kitchen\-sink", r"urllib/parse\.py", r"Glyph 10024 .*? missing from current font"]
112+
expected_warning_patterns = [r"kitchen\-sink", r"urllib/parse\.py", r"Glyph 10024 .*? missing from current font", r"list assignment index out of range \[autodoc\]"]
113113
print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs
114114
unexpected = [l for l in text.splitlines() if not any(re.search(p, l) for p in expected_warning_patterns)]
115115
assert len(unexpected) == 0, unexpected

0 commit comments

Comments
 (0)