(self, file_name: str)
| 140 | lint_kind: int = LINT_HEAP_MEMORY |
| 141 | |
| 142 | def accept_path(self, file_name: str) -> bool: |
| 143 | path_components = file_name.split(os.sep) |
| 144 | if 'test' in path_components or 'test-support' in path_components: |
| 145 | return False |
| 146 | return path_components[-1] not in heap_memory_ignored_files |
| 147 | |
| 148 | |
| 149 | @dataclass |