Python/Linting

From Fundamental Ramen
Jump to navigation Jump to search

Ignore some linting errors/warnings

See: https://pylint.readthedocs.io/en/latest/user_guide/message-control.html

TODO Code
Disable function name and arguments only.
(Single line mode is invalid here.)
    def OnConnection(self, nKind, nCode):
        """
        Function comment ...
        """
        # pylint: disable=invalid-name
        # pylint: enable=invalid-name
        V = 'must be reported'