File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed 
python-checks/src/main/resources/org/sonar/l10n/py/rules/python Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11{
2-   "title" : " Silly  equality checks should not be made" 
2+   "title" : " Unnecessary  equality checks should not be made" 
33  "type" : " BUG" 
44  "code" : {
55    "impacts" : {
Original file line number Diff line number Diff line change @@ -26,5 +26,7 @@ <h4>Compliant solution</h4>
2626</ pre > 
2727< h2 > Resources</ h2 > 
2828< h3 > Documentation</ h3 > 
29- < p > < a  href ="https://docs.djangoproject.com/en/4.1/ref/models/instances/#django.db.models.Model.<em>str</em> "> Django Model.< em > str</ em > ()</ a > </ p > 
29+ < p > < a 
30+ href ="https://docs.djangoproject.com/en/4.1/ref/models/instances/#django.db.models.Model "> https://docs.djangoproject.com/en/4.1/ref/models/instances/#django.db.models.Model</ a > .< em > str</ em > [Django
31+ Model.< em > str</ em > ()]</ p > 
3032
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ <h4>Compliant solution</h4>
3131< h2 > Resources</ h2 > 
3232< h3 > Documentation</ h3 > 
3333< ul > 
34-   < li >  Python Documentation - < a  href ="https://docs.python.org/3/reference/datamodel.html#object.<em>hash</em> "> object.< em > hash</ em > </ a >  </ li > 
34+   < li >  Python Documentation - < a 
35+   href ="https://docs.python.org/3/reference/datamodel.html#object "> https://docs.python.org/3/reference/datamodel.html#object</ a > .< em > hash</ em > [object.< em > hash</ em > ] </ li > 
3536  < li >  Python Documentation - < a  href ="https://docs.python.org/3/library/functions.html#hash "> the hash built-in function</ a >  </ li > 
3637</ ul > 
3738
Original file line number Diff line number Diff line change @@ -34,5 +34,7 @@ <h4>Compliant solution</h4>
3434</ pre > 
3535< h2 > Resources</ h2 > 
3636< h3 > Documentation</ h3 > 
37- < p > Python Documentation - < a  href ="https://docs.python.org/3/library/operator.html#operator.<em>index</em> "> < em > index</ em >  method</ a > </ p > 
37+ < p > Python Documentation - < a 
38+ href ="https://docs.python.org/3/library/operator.html#operator "> https://docs.python.org/3/library/operator.html#operator</ a > .< em > index</ em > [< em > index</ em > 
39+ method]</ p > 
3840
Original file line number Diff line number Diff line change 33  "languages" : [
44    " PY" 
55  ],
6-   "latest-update" : " 2024-08-09T07:32:46.305577Z " 
6+   "latest-update" : " 2024-08-19T11:35:16.981419705Z " 
77  "options" : {
88    "no-language-in-filenames" : true ,
99    "preserve-filenames" : true 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments