Take a string representing a list of files/directories (with support for globbing through the glob library). Where a path/glob matches no file, we still include the raw path in the resulting list. Returns a list of file paths
(paths: str)
| 134 | |
| 135 | |
| 136 | def split_and_match_files(paths: str) -> list[str]: |
| 137 | """Take a string representing a list of files/directories (with support for globbing |
| 138 | through the glob library). |
| 139 | |
| 140 | Where a path/glob matches no file, we still include the raw path in the resulting list. |
| 141 | |
| 142 | Returns a list of file paths |
| 143 | """ |
| 144 | |
| 145 | return split_and_match_files_list(split_commas(paths)) |
| 146 | |
| 147 | |
| 148 | def check_follow_imports(choice: str) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…