Check a list of files.
(
self, files: Sequence[str], export_types: bool, is_tty: bool, terminal_width: int
)
| 356 | return self.check(sources, export_types, is_tty, terminal_width) |
| 357 | |
| 358 | def cmd_check( |
| 359 | self, files: Sequence[str], export_types: bool, is_tty: bool, terminal_width: int |
| 360 | ) -> dict[str, object]: |
| 361 | """Check a list of files.""" |
| 362 | try: |
| 363 | sources = create_source_list(files, self.options, self.fscache) |
| 364 | except InvalidSourceList as err: |
| 365 | return {"out": "", "err": str(err), "status": 2} |
| 366 | return self.check(sources, export_types, is_tty, terminal_width) |
| 367 | |
| 368 | def cmd_recheck( |
| 369 | self, |
nothing calls this directly
no test coverage detected