Get the project root directory.
()
| 37 | |
| 38 | |
| 39 | def get_project_root() -> Path: |
| 40 | """Get the project root directory.""" |
| 41 | # Script is in scripts/ directory, so parent is project root |
| 42 | return Path(__file__).parent.parent.resolve() |
| 43 | |
| 44 | |
| 45 | def remove_directories(root: Path, pattern: str) -> int: |