Check if path should be skipped.
(path: Path)
| 39 | |
| 40 | |
| 41 | def should_skip_path(path: Path) -> bool: |
| 42 | """Check if path should be skipped.""" |
| 43 | # Skip if in excluded directory |
| 44 | for part in path.parts: |
| 45 | if part in EXCLUDE_DIRS: |
| 46 | return True |
| 47 | |
| 48 | # Skip if in excluded files list |
| 49 | relative = path.relative_to(PROJECT_ROOT) |
| 50 | if str(relative).replace("\\", "/") in EXCLUDE_FILES: |
| 51 | return True |
| 52 | |
| 53 | return False |
| 54 | |
| 55 | |
| 56 | def find_files_using_macro(macro_name: str) -> set[Path]: |
no outgoing calls
no test coverage detected