Check if path starts with Lib/
(path: pathlib.Path)
| 73 | |
| 74 | |
| 75 | def is_lib_path(path: pathlib.Path) -> bool: |
| 76 | """Check if path starts with Lib/""" |
| 77 | path_str = str(path).replace("\\", "/") |
| 78 | return path_str.startswith("Lib/") or path_str.startswith("./Lib/") |
| 79 | |
| 80 | |
| 81 | def is_test_path(path: pathlib.Path) -> bool: |