(self, hook: Hook)
| 98 | yield filename |
| 99 | |
| 100 | def filenames_for_hook(self, hook: Hook) -> Generator[str]: |
| 101 | return self.by_types( |
| 102 | filter_by_include_exclude( |
| 103 | self.filenames, |
| 104 | hook.files, |
| 105 | hook.exclude, |
| 106 | ), |
| 107 | hook.types, |
| 108 | hook.types_or, |
| 109 | hook.exclude_types, |
| 110 | ) |
| 111 | |
| 112 | @classmethod |
| 113 | def from_config( |
no test coverage detected