def omit_error(self, e: Error) -> bool:
    'Returns True if error should be ignored.'
    if (e.vars and (e.vars[0] == 'No parent module -- cannot perform relative import')):
        return True
    return bool(noqa(self.lines[(e.lineno - 1)]))
Returns True if error should be ignored.
def omit_error(self, e: Error) -> bool:
    
    if (e.vars and (e.vars[0] == 'No parent module -- cannot perform relative import')):
        return True
    return bool(noqa(self.lines[(e.lineno - 1)]))