pylint/utils/file_state.py
def set_msg_status(self, msg, line, status):
        """Set status (enabled/disable) for a given message at a given line"""
        assert line > 0
        try:
            self._module_msgs_state[msg.msgid][line] = status
        except KeyError:
            self._module_msgs_state[msg.msgid] = {line: status}
def set_msg_status(self, msg, line, status):
        """Set status (enabled/disable) for a given message at a given line"""
        assert line > 0
        try:
            self._module_msgs_state[msg.msgid][line] = status
        except KeyError:
            self._module_msgs_state[msg.msgid] = {line: status}
def set_msg_status ( self , msg , line , status ) : assert line > 0 try : self . _module_msgs_state [ msg . msgid ] [ line ] = status except KeyError : self . _module_msgs_state [ msg . msgid ] = { line : status }
Set status (enabled/disable) for a given message at a given line
Set status ( enabled / disable ) for a given message at a given line