sugarsdk/linting/docstring_triplequotes.py
def visit_module(self, node):
        """
        Get the entire module source and see if there are triple quotes.
        :param node:
        :return:
        """
        with open(node.file) as mod_fh:
            for idx, line in enumerate(mod_fh.read().split(os.linesep)):
                if "'''" in line:
                    self.add_message("docstring-triple-double-quotes", node=node, line=idx+1)

        Get the entire module source and see if there are triple quotes.
        :param node:
        :return:
        
Get the entire module source and see if there are triple quotes.
Get the entire module source and see if there are triple quotes .
def visit_module(self, node):
        with open(node.file) as mod_fh:
            for idx, line in enumerate(mod_fh.read().split(os.linesep)):
                if "'''" in line:
                    self.add_message("docstring-triple-double-quotes", node=node, line=idx+1)
def visit_module ( self , node ) : with open ( node . file ) as mod_fh : for idx , line in enumerate ( mod_fh . read ( ) . split ( os . linesep ) ) : if "'''" in line : self . add_message ( "docstring-triple-double-quotes" , node = node , line = idx + 1 )
Get the entire module source and see if there are triple quotes.
Get the entire module source and see if there are triple quotes .
"""
        Get the entire module source and see if there are triple quotes.
        :param node:
        :return:
        """
None
self
node
None