True for vendored / build / cache paths and for any `LICENSE*.md`. The license is verbatim legal text, not prose this linter should touch.
(path: Path)
| 689 | |
| 690 | |
| 691 | def _is_skipped(path: Path) -> bool: |
| 692 | """True for vendored / build / cache paths and for any `LICENSE*.md`. |
| 693 | The license is verbatim legal text, not prose this linter should touch.""" |
| 694 | if any(p in _SKIP_DIRS for p in path.parts): |
| 695 | return True |
| 696 | return path.stem.lower().startswith("license") |
| 697 | |
| 698 | |
| 699 | def iter_markdown_files(targets: list[Path]) -> Iterable[Path]: |
no outgoing calls
no test coverage detected