def _format_filename(self, event):
        filename = event.filename or "<???>"
        if len(filename) > self.filename_alignment:
            filename = '[...]{}'.format(filename[5 - self.filename_alignment:])
        return filename
dataset/ETHPy150Open ionelmc/python-hunter/src/hunter/actions.py/CodePrinter._format_filename/original