File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed 
tests/functional/ext/code_style Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class CodeStyleChecker(BaseChecker):
9191            "This check also catches typos in float calls as a side effect." ,
9292        ),
9393        "R6107" : (
94-             "Rewrite  conditional expression to '%s'" ,
94+             "Consider rewriting  conditional expression to '%s'" ,
9595            "consider-rewriting-conditional" ,
9696            "Rewrite negated if expressions to improve readability. This style is simpler " 
9797            "and also permits converting long if/elif chains to match case with more ease.\n " 
Original file line number Diff line number Diff line change 1- consider-rewriting-conditional:28:7:28:68:f1:Rewrite  conditional expression to 'not (isinstance(expr, node_cls) and expr.attrname == '__init__')':HIGH
2- consider-rewriting-conditional:30:9:30:28:f1:Rewrite  conditional expression to 'not (x and y in z)':HIGH
3- consider-rewriting-conditional:32:9:32:28:f1:Rewrite  conditional expression to 'not (x and y is z)':HIGH
4- consider-rewriting-conditional:34:9:34:29:f1:Rewrite  conditional expression to 'x and y':HIGH
5- consider-rewriting-conditional:36:16:36:30:f1:Rewrite  conditional expression to 'not (y and z)':HIGH
6- consider-rewriting-conditional:38:9:38:33:f1:Rewrite  conditional expression to 'not (x and y >= 0 and z > 0)':HIGH
7- consider-rewriting-conditional:40:9:40:33:f1:Rewrite  conditional expression to 'not (x and y <= 0 and z < 0)':HIGH
1+ consider-rewriting-conditional:28:7:28:68:f1:Consider rewriting  conditional expression to 'not (isinstance(expr, node_cls) and expr.attrname == '__init__')':HIGH
2+ consider-rewriting-conditional:30:9:30:28:f1:Consider rewriting  conditional expression to 'not (x and y in z)':HIGH
3+ consider-rewriting-conditional:32:9:32:28:f1:Consider rewriting  conditional expression to 'not (x and y is z)':HIGH
4+ consider-rewriting-conditional:34:9:34:29:f1:Consider rewriting  conditional expression to 'x and y':HIGH
5+ consider-rewriting-conditional:36:16:36:30:f1:Consider rewriting  conditional expression to 'not (y and z)':HIGH
6+ consider-rewriting-conditional:38:9:38:33:f1:Consider rewriting  conditional expression to 'not (x and y >= 0 and z > 0)':HIGH
7+ consider-rewriting-conditional:40:9:40:33:f1:Consider rewriting  conditional expression to 'not (x and y <= 0 and z < 0)':HIGH
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments