sugarsdk/linting/docstring_rstcheck.py
def visit_functiondef(self, node):
        """
        Check if docstring always starts and ends from/by triple double-quotes
        and they are on the new line.
        """
        if hasattr(node, "doc") and node.doc:
            out = list(rstcheck.check(node.doc.strip()))
            if out:
                messages = []
                for errcode, msg in out:
                    messages.append(msg)
                self.add_message("docstring-rst-format", node=node, args=(", ".join(messages),))

        Check if docstring always starts and ends from/by triple double-quotes
        and they are on the new line.
        
Check if docstring always starts and ends from/by triple double-quotes
and they are on the new line.
Check if docstring always starts and ends from / by triple double - quotes and they are on the new line .
def visit_functiondef(self, node):
        if hasattr(node, "doc") and node.doc:
            out = list(rstcheck.check(node.doc.strip()))
            if out:
                messages = []
                for errcode, msg in out:
                    messages.append(msg)
                self.add_message("docstring-rst-format", node=node, args=(", ".join(messages),))
def visit_functiondef ( self , node ) : if hasattr ( node , "doc" ) and node . doc : out = list ( rstcheck . check ( node . doc . strip ( ) ) ) if out : messages = [ ] for errcode , msg in out : messages . append ( msg ) self . add_message ( "docstring-rst-format" , node = node , args = ( ", " . join ( messages ) , ) )
Check if docstring always starts and ends from/by triple double-quotes
and they are on the new line.
Check if docstring always starts and ends from / by triple double - quotes and they are on the new line .
"""
        Check if docstring always starts and ends from/by triple double-quotes
        and they are on the new line.
        """
self
node