(line: str)
| 84 | |
| 85 | |
| 86 | def is_probably_boilerplate(line: str) -> bool: |
| 87 | s = line.strip() |
| 88 | if not s: |
| 89 | return True |
| 90 | if RE_PAGE_ONLY.match(s): |
| 91 | return True |
| 92 | if len(s) < 3: |
| 93 | return True |
| 94 | return False |
| 95 | |
| 96 | |
| 97 | def extract_pages(pdf_path: Path) -> list[dict[str, Any]]: |
no outgoing calls
no test coverage detected