(filenames, *,
match_kind=None,
get_file_preprocessor=None,
file_maxsizes=None,
)
| 15 | |
| 16 | |
| 17 | def parse_files(filenames, *, |
| 18 | match_kind=None, |
| 19 | get_file_preprocessor=None, |
| 20 | file_maxsizes=None, |
| 21 | ): |
| 22 | if get_file_preprocessor is None: |
| 23 | get_file_preprocessor = _get_preprocessor() |
| 24 | for filename in filenames: |
| 25 | try: |
| 26 | yield from _parse_file( |
| 27 | filename, match_kind, get_file_preprocessor, file_maxsizes) |
| 28 | except Exception: |
| 29 | print(f'# requested file: <{filename}>') |
| 30 | raise # re-raise |
| 31 | |
| 32 | |
| 33 | def _parse_file(filename, match_kind, get_file_preprocessor, maxsizes): |
no test coverage detected
searching dependent graphs…