(path: Path)
| 162 | |
| 163 | |
| 164 | def is_templated_yaml(path: Path) -> bool: |
| 165 | normalized = path.as_posix() |
| 166 | return any(fnmatch.fnmatch(normalized, pattern) for pattern in TEMPLATED_YAML_PATTERNS) |
| 167 | |
| 168 | |
| 169 | def _line_number(text: str, index: int) -> int: |