File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 483483 "category" : " ErrorProne"
484484 },
485485 {
486- "patternId" : " R0102 " ,
486+ "patternId" : " R1703 " ,
487487 "level" : " Info" ,
488488 "category" : " CodeStyle"
489489 },
Original file line number Diff line number Diff line change 1- ##Patterns: R0102
1+ ##Patterns: R1703
22
33def test_simplifiable_1 (arg ):
4- ##Info: R0102
4+ ##Info: R1703
55 if arg :
66 return True
77 else :
@@ -10,7 +10,7 @@ def test_simplifiable_1(arg):
1010
1111def test_simplifiable_2 (arg , arg2 ):
1212 # Can be reduced to bool(arg and not arg2)
13- ##Info: R0102
13+ ##Info: R1703
1414 if arg and not arg2 :
1515 return True
1616 else :
@@ -19,7 +19,7 @@ def test_simplifiable_2(arg, arg2):
1919
2020def test_simplifiable_3 (arg , arg2 ):
2121 # Can be reduced to bool(arg and not arg2)
22- ##Info: R0102
22+ ##Info: R1703
2323 if arg and not arg2 :
2424 var = True
2525 else :
@@ -31,7 +31,7 @@ def test_simplifiable_4(arg):
3131 if arg :
3232 var = True
3333 else :
34- ##Info: R0102
34+ ##Info: R1703
3535 if arg == "arg1" :
3636 return True
3737 else :
You can’t perform that action at this time.
0 commit comments