def run(self, lines):
        """Filter method"""
        ret = []
        for line in lines:
            ret.append(re.sub(r'^#', '#' + ('#' * self.offset), line))

        return ret
def run ( self , lines ) : ret = [ ] for line in lines : ret . append ( re . sub ( r'^#' , '#' + ( '#' * self . offset ) , line ) ) return ret
Filter method