def __init__(self, linter_name, path, msg, line_nr=None, col=None):
<EOL>if line_nr:<EOL><INDENT>line_nr = int(line_nr)<EOL><DEDENT>if col:<EOL><INDENT>col = int(col)<EOL><DEDENT>self._linter_name = linter_name<EOL>self.path = path<EOL>self.line_nr = line_nr<EOL>self.msg = msg<EOL>self.col = col<EOL>
Optionally set all attributes.

        Args:
            path (str): Relative file path.
            line (int): Line number.
            msg (str): Explanation of what is wrong.
            col (int): Column where the problem begins.