logging_format/visitor.py
def visit_JoinedStr(self, node):
        """
        Process f-string arguments.

        """
        if version_info >= (3, 6):
            if self.within_logging_statement():
                if any(isinstance(i, FormattedValue) for i in node.values):
                    if self.within_logging_argument():
                        self.violations.append((node, FSTRING_VIOLATION))
                        super(LoggingVisitor, self).generic_visit(node)
def visit_JoinedStr(self, node):
        if version_info >= (3, 6):
            if self.within_logging_statement():
                if any(isinstance(i, FormattedValue) for i in node.values):
                    if self.within_logging_argument():
                        self.violations.append((node, FSTRING_VIOLATION))
                        super(LoggingVisitor, self).generic_visit(node)
def visit_JoinedStr ( self , node ) : if version_info >= ( 3 , 6 ) : if self . within_logging_statement ( ) : if any ( isinstance ( i , FormattedValue ) for i in node . values ) : if self . within_logging_argument ( ) : self . violations . append ( ( node , FSTRING_VIOLATION ) ) super ( LoggingVisitor , self ) . generic_visit ( node )
Process f-string arguments.
Process f - string arguments .