diff --git a/rules/S1045/python/metadata.json b/rules/S1045/python/metadata.json index 89d10e37816..2a1561a45ff 100644 --- a/rules/S1045/python/metadata.json +++ b/rules/S1045/python/metadata.json @@ -1,3 +1,6 @@ { - "title": "All \"except\" blocks should be able to catch exceptions" + "title": "All \"except\" blocks should be able to catch exceptions", + "tags": [ + "suspicious" + ] } diff --git a/rules/S1128/python/metadata.json b/rules/S1128/python/metadata.json index c6298edaaf4..260c43901c1 100644 --- a/rules/S1128/python/metadata.json +++ b/rules/S1128/python/metadata.json @@ -1,5 +1,9 @@ { "defaultQualityProfiles": [ + ], + "tags": [ + "convention", + "unused" ] } diff --git a/rules/S1129/python/metadata.json b/rules/S1129/python/metadata.json index 1a9f6151cf0..3a9c7e83a2f 100644 --- a/rules/S1129/python/metadata.json +++ b/rules/S1129/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "2min" }, "tags": [ - + "convention" ], "extra": { "replacementRules": [ diff --git a/rules/S1143/python/metadata.json b/rules/S1143/python/metadata.json index f6faacbd763..6e5ccbf02aa 100644 --- a/rules/S1143/python/metadata.json +++ b/rules/S1143/python/metadata.json @@ -1,3 +1,8 @@ { - "title": "Break, continue and return statements should not occur in \"finally\" blocks" + "title": "Break, continue and return statements should not occur in \"finally\" blocks", + "tags": [ + "cwe", + "error-handling", + "pitfall" + ] } diff --git a/rules/S1144/python/metadata.json b/rules/S1144/python/metadata.json index 6fa17749e25..1e437a80979 100644 --- a/rules/S1144/python/metadata.json +++ b/rules/S1144/python/metadata.json @@ -1,3 +1,6 @@ { - "title": "Unused class-private methods should be removed" + "title": "Unused class-private methods should be removed", + "tags": [ + "suspicious" + ] } diff --git a/rules/S1226/python/metadata.json b/rules/S1226/python/metadata.json index 4537182d8e5..28895fbb0f8 100644 --- a/rules/S1226/python/metadata.json +++ b/rules/S1226/python/metadata.json @@ -1,3 +1,6 @@ { - "title": "Function parameters initial values should not be ignored" + "title": "Function parameters initial values should not be ignored", + "tags": [ + "suspicious" + ] } diff --git a/rules/S124/python/metadata.json b/rules/S124/python/metadata.json index 66353336687..63ec156f556 100644 --- a/rules/S124/python/metadata.json +++ b/rules/S124/python/metadata.json @@ -1,3 +1,6 @@ { - "sqKey": "CommentRegularExpression" + "sqKey": "CommentRegularExpression", + "tags": [ + "convention" + ] } diff --git a/rules/S1244/python/metadata.json b/rules/S1244/python/metadata.json index edda8a250a6..6f83b6e0e10 100644 --- a/rules/S1244/python/metadata.json +++ b/rules/S1244/python/metadata.json @@ -13,7 +13,10 @@ "constantCost": "5min" }, "tags": [ - + "suspicious", + "numpy", + "pytourch", + "data-science" ], "extra": { "replacementRules": [ diff --git a/rules/S1311/metadata.json b/rules/S1311/metadata.json index 7a802202e88..fae1d01ae75 100644 --- a/rules/S1311/metadata.json +++ b/rules/S1311/metadata.json @@ -9,7 +9,7 @@ "linearFactor": "1min" }, "tags": [ - + "brain-overload" ], "extra": { "replacementRules": [ diff --git a/rules/S1313/python/metadata.json b/rules/S1313/python/metadata.json index 17971333806..ca3b313ca06 100644 --- a/rules/S1313/python/metadata.json +++ b/rules/S1313/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "bad-practice" + ] } diff --git a/rules/S1451/metadata.json b/rules/S1451/metadata.json index 695b64b8c0e..5d0787d90de 100644 --- a/rules/S1451/metadata.json +++ b/rules/S1451/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "convention" + ], "extra": { "replacementRules": [], "legacyKeys": [ diff --git a/rules/S1523/python/metadata.json b/rules/S1523/python/metadata.json index 804395cc74d..111f045c527 100644 --- a/rules/S1523/python/metadata.json +++ b/rules/S1523/python/metadata.json @@ -1,4 +1,7 @@ { "status": "deprecated", - "quickfix": "unknown" + "quickfix": "unknown", + "tags": [ + "deprecated" + ] } diff --git a/rules/S1542/python/metadata.json b/rules/S1542/python/metadata.json index 17971333806..59ed4a8efa6 100644 --- a/rules/S1542/python/metadata.json +++ b/rules/S1542/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "convention", + "pep" + ] } diff --git a/rules/S1656/python/metadata.json b/rules/S1656/python/metadata.json index 17971333806..2ff2251a548 100644 --- a/rules/S1656/python/metadata.json +++ b/rules/S1656/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "convention", + "confusing" + ] } diff --git a/rules/S1716/python/metadata.json b/rules/S1716/python/metadata.json index 797360fc457..6528977e6a0 100644 --- a/rules/S1716/python/metadata.json +++ b/rules/S1716/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "10min" }, "tags": [ - + "pitfall" ], "extra": { "replacementRules": [ diff --git a/rules/S1717/python/metadata.json b/rules/S1717/python/metadata.json index 62a454242c1..0f9acd96dba 100644 --- a/rules/S1717/python/metadata.json +++ b/rules/S1717/python/metadata.json @@ -7,7 +7,7 @@ "constantCost": "2min" }, "tags": [ - + "deprecated" ], "extra": { "replacementRules": [ diff --git a/rules/S1720/python/metadata.json b/rules/S1720/python/metadata.json index c879636d4b8..6a423770c43 100644 --- a/rules/S1720/python/metadata.json +++ b/rules/S1720/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - + "convention" ], "extra": { "replacementRules": [ diff --git a/rules/S1721/python/metadata.json b/rules/S1721/python/metadata.json index b89c8b0826d..9201d93d1fd 100644 --- a/rules/S1721/python/metadata.json +++ b/rules/S1721/python/metadata.json @@ -7,7 +7,7 @@ "constantCost": "1 min" }, "tags": [ - + "deprecated" ], "extra": { "replacementRules": [ diff --git a/rules/S1751/metadata.json b/rules/S1751/metadata.json index f445b0a19ca..8a38f12a96a 100644 --- a/rules/S1751/metadata.json +++ b/rules/S1751/metadata.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - + "confusing", + "bad-practice" ], "extra": { "replacementRules": [ diff --git a/rules/S1764/metadata.json b/rules/S1764/metadata.json index 49c428d2ffc..be772979d07 100644 --- a/rules/S1764/metadata.json +++ b/rules/S1764/metadata.json @@ -13,7 +13,7 @@ "constantCost": "2min" }, "tags": [ - + "suspicious" ], "extra": { "replacementRules": [ diff --git a/rules/S1845/python/metadata.json b/rules/S1845/python/metadata.json index 0a3d7ba3a08..0f2bb53b3a1 100644 --- a/rules/S1845/python/metadata.json +++ b/rules/S1845/python/metadata.json @@ -1,3 +1,7 @@ { - "title": "Methods and field names should not differ only by capitalization" + "title": "Methods and field names should not differ only by capitalization", + "tags": [ + "confusing", + "convention" + ] } diff --git a/rules/S1908/python/metadata.json b/rules/S1908/python/metadata.json index 0aad88907db..c11620435c2 100644 --- a/rules/S1908/python/metadata.json +++ b/rules/S1908/python/metadata.json @@ -1,3 +1,4 @@ { - "sqKey": "FileComplexity" + "sqKey": "FileComplexity", + "tags": ["brain-overload"] } diff --git a/rules/S2092/python/metadata.json b/rules/S2092/python/metadata.json index 17971333806..e78ff04db13 100644 --- a/rules/S2092/python/metadata.json +++ b/rules/S2092/python/metadata.json @@ -1,3 +1,9 @@ { - + "tags": [ + "cwe", + "privacy", + "fastapi", + "django", + "flask" + ] } diff --git a/rules/S2159/python/metadata.json b/rules/S2159/python/metadata.json index 40076174a98..325d45931e3 100644 --- a/rules/S2159/python/metadata.json +++ b/rules/S2159/python/metadata.json @@ -5,5 +5,8 @@ }, "attribute": "LOGICAL" }, - "defaultSeverity": "Blocker" + "defaultSeverity": "Blocker", + "tags": [ + "suspicious" + ] } diff --git a/rules/S2201/metadata.json b/rules/S2201/metadata.json index 286956198a9..ea4f0b37a67 100644 --- a/rules/S2201/metadata.json +++ b/rules/S2201/metadata.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - + "suspicious", + "confusing" ], "extra": { "replacementRules": [ diff --git a/rules/S2208/python/metadata.json b/rules/S2208/python/metadata.json index d860fd4691d..7194c6f0180 100644 --- a/rules/S2208/python/metadata.json +++ b/rules/S2208/python/metadata.json @@ -1,5 +1,9 @@ { "defaultQualityProfiles": [ "Sonar way" + ], + "tags": [ + "pitfall", + "bad-practice" ] } diff --git a/rules/S2257/python/metadata.json b/rules/S2257/python/metadata.json index 17971333806..ba9315c9779 100644 --- a/rules/S2257/python/metadata.json +++ b/rules/S2257/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "cwe", + "bad-practice" + ] } diff --git a/rules/S2275/python/metadata.json b/rules/S2275/python/metadata.json index d770c72b44a..10d43fa426a 100644 --- a/rules/S2275/python/metadata.json +++ b/rules/S2275/python/metadata.json @@ -1,3 +1,6 @@ { - "title": "String formatting should not lead to runtime errors" + "title": "String formatting should not lead to runtime errors", + "tags": [ + "pitfall" + ] } diff --git a/rules/S2319/python/metadata.json b/rules/S2319/python/metadata.json index 5dde77f61f3..48547339ef1 100644 --- a/rules/S2319/python/metadata.json +++ b/rules/S2319/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - + "convention" ], "extra": { "replacementRules": [ diff --git a/rules/S2711/python/metadata.json b/rules/S2711/python/metadata.json index 6143a291563..e128ccd0f73 100644 --- a/rules/S2711/python/metadata.json +++ b/rules/S2711/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [], + "tags": [ + "pitfall", + "syntax" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S2712/python/metadata.json b/rules/S2712/python/metadata.json index 1b861bdc12f..f2e4e9539c1 100644 --- a/rules/S2712/python/metadata.json +++ b/rules/S2712/python/metadata.json @@ -12,7 +12,11 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [], + "tags": [ + "pitfall", + "python3", + "syntax" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S2733/python/metadata.json b/rules/S2733/python/metadata.json index 970082c8cca..6c4c4d299b1 100644 --- a/rules/S2733/python/metadata.json +++ b/rules/S2733/python/metadata.json @@ -7,7 +7,7 @@ "constantCost": "5min" }, "tags": [ - + "pitfall" ], "extra": { "replacementRules": [ diff --git a/rules/S2734/python/metadata.json b/rules/S2734/python/metadata.json index 88386ccd85e..390f7a36280 100644 --- a/rules/S2734/python/metadata.json +++ b/rules/S2734/python/metadata.json @@ -7,7 +7,8 @@ "constantCost": "5min" }, "tags": [ - + "convention", + "pitfall" ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2734", diff --git a/rules/S2757/python/metadata.json b/rules/S2757/python/metadata.json index 17971333806..5ca14620c47 100644 --- a/rules/S2757/python/metadata.json +++ b/rules/S2757/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "confusing", + "convention" + ] } diff --git a/rules/S2761/python/metadata.json b/rules/S2761/python/metadata.json index 5ca3b13214c..fe3866464ba 100644 --- a/rules/S2761/python/metadata.json +++ b/rules/S2761/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - + "confusing" ], "extra": { "replacementRules": [ diff --git a/rules/S2772/python/metadata.json b/rules/S2772/python/metadata.json index 68173b87320..0886cf56fa1 100644 --- a/rules/S2772/python/metadata.json +++ b/rules/S2772/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "2min" }, "tags": [ - "unused" + "confusing" ], "extra": { "replacementRules": [ diff --git a/rules/S2823/python/metadata.json b/rules/S2823/python/metadata.json index 35071b27f44..0cf58304f24 100644 --- a/rules/S2823/python/metadata.json +++ b/rules/S2823/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "1min" }, - "tags": [], + "tags": [ + "python3" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S2876/python/metadata.json b/rules/S2876/python/metadata.json index 7c102870a70..e7ee98b8207 100644 --- a/rules/S2876/python/metadata.json +++ b/rules/S2876/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [], + "tags": [ + "python3", + "pep" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S3329/python/metadata.json b/rules/S3329/python/metadata.json index 17971333806..ba9315c9779 100644 --- a/rules/S3329/python/metadata.json +++ b/rules/S3329/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "cwe", + "bad-practice" + ] } diff --git a/rules/S3330/python/metadata.json b/rules/S3330/python/metadata.json index 17971333806..e0ca8e5742f 100644 --- a/rules/S3330/python/metadata.json +++ b/rules/S3330/python/metadata.json @@ -1,3 +1,9 @@ { - + "tags": [ + "cwe", + "privacy", + "flask", + "fastapi", + "django" + ] } diff --git a/rules/S3403/python/metadata.json b/rules/S3403/python/metadata.json index 69f61522fd9..af09fdd6649 100644 --- a/rules/S3403/python/metadata.json +++ b/rules/S3403/python/metadata.json @@ -5,5 +5,10 @@ }, "attribute": "LOGICAL" }, - "defaultSeverity": "Blocker" + "defaultSeverity": "Blocker", + "tags": [ + "confusing", + "pitfall", + "typing" + ] } diff --git a/rules/S3516/python/metadata.json b/rules/S3516/python/metadata.json index 58052d7ef5c..33c5c7b07a2 100644 --- a/rules/S3516/python/metadata.json +++ b/rules/S3516/python/metadata.json @@ -1,3 +1,7 @@ { - "title": "Functions returns should not be invariant" + "title": "Functions returns should not be invariant", + "tags": [ + "confusing", + "design" + ] } diff --git a/rules/S3699/python/metadata.json b/rules/S3699/python/metadata.json index 17971333806..6cff774036c 100644 --- a/rules/S3699/python/metadata.json +++ b/rules/S3699/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "pithon3" + ] } diff --git a/rules/S3752/python/metadata.json b/rules/S3752/python/metadata.json index 17971333806..5ae88c47999 100644 --- a/rules/S3752/python/metadata.json +++ b/rules/S3752/python/metadata.json @@ -1,3 +1,7 @@ { - + "tags": [ + "cwe", + "flask", + "django" + ] } diff --git a/rules/S3801/python/metadata.json b/rules/S3801/python/metadata.json index 17971333806..43a738e1753 100644 --- a/rules/S3801/python/metadata.json +++ b/rules/S3801/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "design", + "confusing" + ] } diff --git a/rules/S3827/python/metadata.json b/rules/S3827/python/metadata.json index d860fd4691d..0a888698826 100644 --- a/rules/S3827/python/metadata.json +++ b/rules/S3827/python/metadata.json @@ -1,5 +1,9 @@ { "defaultQualityProfiles": [ "Sonar way" + ], + "tags": [ + "python3", + "pitfall" ] } diff --git a/rules/S3862/python/metadata.json b/rules/S3862/python/metadata.json index 8b15f9594e1..4a950b1c000 100644 --- a/rules/S3862/python/metadata.json +++ b/rules/S3862/python/metadata.json @@ -2,5 +2,10 @@ "title": "Iterable unpacking, \"for-in\" loops and \"yield from\" should use an Iterable object", "defaultQualityProfiles": [ "Sonar way" + ], + "tags": [ + "pitfall", + "defign", + "typing" ] } diff --git a/rules/S3923/python/metadata.json b/rules/S3923/python/metadata.json index 9b623610df8..e0c8c614f97 100644 --- a/rules/S3923/python/metadata.json +++ b/rules/S3923/python/metadata.json @@ -1,3 +1,7 @@ { - "quickfix": "covered" + "quickfix": "covered", + "tags": [ + "suspicious", + "convention" + ] } diff --git a/rules/S3981/metadata.json b/rules/S3981/metadata.json index f34cbace678..db938d3f00e 100644 --- a/rules/S3981/metadata.json +++ b/rules/S3981/metadata.json @@ -13,7 +13,7 @@ "constantCost": "2min" }, "tags": [ - + "confusing" ], "extra": { "replacementRules": [ diff --git a/rules/S4721/python/metadata.json b/rules/S4721/python/metadata.json index 804395cc74d..111f045c527 100644 --- a/rules/S4721/python/metadata.json +++ b/rules/S4721/python/metadata.json @@ -1,4 +1,7 @@ { "status": "deprecated", - "quickfix": "unknown" + "quickfix": "unknown", + "tags": [ + "deprecated" + ] } diff --git a/rules/S4784/python/metadata.json b/rules/S4784/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S4784/python/metadata.json +++ b/rules/S4784/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S4787/python/metadata.json b/rules/S4787/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S4787/python/metadata.json +++ b/rules/S4787/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S4792/python/metadata.json b/rules/S4792/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S4792/python/metadata.json +++ b/rules/S4792/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S4823/python/metadata.json b/rules/S4823/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S4823/python/metadata.json +++ b/rules/S4823/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S4829/python/metadata.json b/rules/S4829/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S4829/python/metadata.json +++ b/rules/S4829/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S5122/python/metadata.json b/rules/S5122/python/metadata.json index 17971333806..54d9d346080 100644 --- a/rules/S5122/python/metadata.json +++ b/rules/S5122/python/metadata.json @@ -1,3 +1,7 @@ { - + "tags": [ + "cwe", + "django", + "flask" + ] } diff --git a/rules/S5247/python/metadata.json b/rules/S5247/python/metadata.json index 17971333806..d6313b3539e 100644 --- a/rules/S5247/python/metadata.json +++ b/rules/S5247/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "cwe", + "django" + ] } diff --git a/rules/S5300/python/metadata.json b/rules/S5300/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S5300/python/metadata.json +++ b/rules/S5300/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S5439/python/metadata.json b/rules/S5439/python/metadata.json index 8fa1873278b..0e148b438eb 100644 --- a/rules/S5439/python/metadata.json +++ b/rules/S5439/python/metadata.json @@ -7,7 +7,7 @@ "constantCost": "5min" }, "tags": [ - + "deprecated" ], "extra": { "replacementRules": [ diff --git a/rules/S5549/python/metadata.json b/rules/S5549/python/metadata.json index 6fea0d008d1..b5be5d1183a 100644 --- a/rules/S5549/python/metadata.json +++ b/rules/S5549/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "syntax" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5607/python/metadata.json b/rules/S5607/python/metadata.json index ab02aac2263..78cebdf6f71 100644 --- a/rules/S5607/python/metadata.json +++ b/rules/S5607/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [], + "tags": [ + "typing" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5632/python/metadata.json b/rules/S5632/python/metadata.json index ca656ccb0db..47fe19cdd7f 100644 --- a/rules/S5632/python/metadata.json +++ b/rules/S5632/python/metadata.json @@ -1,5 +1,6 @@ { "tags": [ - "python3" + "python3", + "error-handling" ] } diff --git a/rules/S5642/python/metadata.json b/rules/S5642/python/metadata.json index 16e31bd09bf..741f77d6126 100644 --- a/rules/S5642/python/metadata.json +++ b/rules/S5642/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [], + "tags": [ + "python3", + "design" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5644/python/metadata.json b/rules/S5644/python/metadata.json index c324e9dc3c2..4461c2d8568 100644 --- a/rules/S5644/python/metadata.json +++ b/rules/S5644/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [], + "tags": [ + "python3", + "typing" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5655/python/metadata.json b/rules/S5655/python/metadata.json index ca380e0b36d..319adeda48a 100644 --- a/rules/S5655/python/metadata.json +++ b/rules/S5655/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "20min" }, "tags": [ - "suspicious" + "suspicious", + "typing" ], "extra": { "replacementRules": [ diff --git a/rules/S5685/python/metadata.json b/rules/S5685/python/metadata.json index 4314e302e80..36bfc759465 100644 --- a/rules/S5685/python/metadata.json +++ b/rules/S5685/python/metadata.json @@ -13,7 +13,9 @@ "constantCost": "10min" }, "tags": [ - + "pep", + "confusing", + "bad-practice" ], "extra": { "replacementRules": [ diff --git a/rules/S5707/python/metadata.json b/rules/S5707/python/metadata.json index 0d2e0583c8a..a298b220012 100644 --- a/rules/S5707/python/metadata.json +++ b/rules/S5707/python/metadata.json @@ -13,7 +13,9 @@ "constantCost": "10min" }, "tags": [ - + "error-handling", + "pep", + "design" ], "extra": { "replacementRules": [ diff --git a/rules/S5708/python/metadata.json b/rules/S5708/python/metadata.json index 0d8f3a4d037..2feecc9e828 100644 --- a/rules/S5708/python/metadata.json +++ b/rules/S5708/python/metadata.json @@ -1,6 +1,8 @@ { "tags": [ - "python3" + "error-handling", + "pep", + "design" ], "quickfix": "covered" } diff --git a/rules/S5709/python/metadata.json b/rules/S5709/python/metadata.json index ac9b1eab701..bf419ae106f 100644 --- a/rules/S5709/python/metadata.json +++ b/rules/S5709/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - + "convention", + "bad-practice" ], "extra": { "replacementRules": [ diff --git a/rules/S5713/python/metadata.json b/rules/S5713/python/metadata.json index 9b623610df8..a61615e0d79 100644 --- a/rules/S5713/python/metadata.json +++ b/rules/S5713/python/metadata.json @@ -1,3 +1,8 @@ { - "quickfix": "covered" + "quickfix": "covered", + "tags": [ + "error-handling", + "bad-practice", + "unused" + ] } diff --git a/rules/S5714/python/metadata.json b/rules/S5714/python/metadata.json index 3301dea7140..b92f02183bc 100644 --- a/rules/S5714/python/metadata.json +++ b/rules/S5714/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "error-handling", + "bad-practice" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5717/python/metadata.json b/rules/S5717/python/metadata.json index 147f2883202..34abc7e108e 100644 --- a/rules/S5717/python/metadata.json +++ b/rules/S5717/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - + "pitfall", + "bad-practice" ], "extra": { "replacementRules": [ diff --git a/rules/S5719/python/metadata.json b/rules/S5719/python/metadata.json index 2d2474cac30..f81b7ee4575 100644 --- a/rules/S5719/python/metadata.json +++ b/rules/S5719/python/metadata.json @@ -9,10 +9,13 @@ }, "status": "ready", "remediation": { - "func": "Constant\/Issue", + "func": "Constant/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "python3", + "syntax" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5722/python/metadata.json b/rules/S5722/python/metadata.json index 32afdb9df94..79f125be216 100644 --- a/rules/S5722/python/metadata.json +++ b/rules/S5722/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "design", + "bad-practice" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5724/python/metadata.json b/rules/S5724/python/metadata.json index ef5e657b80d..4cff048f466 100644 --- a/rules/S5724/python/metadata.json +++ b/rules/S5724/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "design", + "bad-practice" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5756/python/metadata.json b/rules/S5756/python/metadata.json index 17af3fe14a4..22a802bdd31 100644 --- a/rules/S5756/python/metadata.json +++ b/rules/S5756/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [], + "tags": [ + "typing" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5780/metadata.json b/rules/S5780/metadata.json index 448d4458ef8..94b2e78984d 100644 --- a/rules/S5780/metadata.json +++ b/rules/S5780/metadata.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - + "confusing", + "suspicious" ], "extra": { "replacementRules": [ diff --git a/rules/S5796/python/metadata.json b/rules/S5796/python/metadata.json index 138faf37a18..04f6818f095 100644 --- a/rules/S5796/python/metadata.json +++ b/rules/S5796/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - + "suspicious" ], "extra": { "replacementRules": [ diff --git a/rules/S5807/python/metadata.json b/rules/S5807/python/metadata.json index 4d7811f38ea..57af769a3c7 100644 --- a/rules/S5807/python/metadata.json +++ b/rules/S5807/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "1min" }, - "tags": [], + "tags": [ + "design" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5828/python/metadata.json b/rules/S5828/python/metadata.json index 87b5282ed64..43e457e3ea1 100644 --- a/rules/S5828/python/metadata.json +++ b/rules/S5828/python/metadata.json @@ -12,7 +12,10 @@ "func": "Constant\/Issue", "constantCost": "1min" }, - "tags": [], + "tags": [ + "python3", + "pitfall" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S5845/python/metadata.json b/rules/S5845/python/metadata.json index 17971333806..865538eb0eb 100644 --- a/rules/S5845/python/metadata.json +++ b/rules/S5845/python/metadata.json @@ -1,3 +1,6 @@ { - + "tags": [ + "tests", + "typing" + ] } diff --git a/rules/S5864/python/metadata.json b/rules/S5864/python/metadata.json index f40fa320772..4f3475c7b28 100644 --- a/rules/S5864/python/metadata.json +++ b/rules/S5864/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - + "confusing", + "typing" ], "extra": { "replacementRules": [ diff --git a/rules/S5886/python/metadata.json b/rules/S5886/python/metadata.json index a526b859129..62f75a06bb5 100644 --- a/rules/S5886/python/metadata.json +++ b/rules/S5886/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - + "typing" ], "extra": { "replacementRules": [ diff --git a/rules/S5890/python/metadata.json b/rules/S5890/python/metadata.json index 87416a2646d..292a2981b36 100644 --- a/rules/S5890/python/metadata.json +++ b/rules/S5890/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - + "typing", + "confusing" ], "extra": { "replacementRules": [ diff --git a/rules/S5906/python/metadata.json b/rules/S5906/python/metadata.json index ce83994ea4c..bfa953e298c 100644 --- a/rules/S5906/python/metadata.json +++ b/rules/S5906/python/metadata.json @@ -13,7 +13,8 @@ "constantCost": "1min" }, "tags": [ - "tests" + "tests", + "unittest" ], "extra": { "replacementRules": [ diff --git a/rules/S5953/python/metadata.json b/rules/S5953/python/metadata.json index ec52e96373e..c2d32aa6dce 100644 --- a/rules/S5953/python/metadata.json +++ b/rules/S5953/python/metadata.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "suspicious" + ], "extra": { "replacementRules": [], "legacyKeys": [] diff --git a/rules/S6245/python/metadata.json b/rules/S6245/python/metadata.json index 17971333806..dca761a71ca 100644 --- a/rules/S6245/python/metadata.json +++ b/rules/S6245/python/metadata.json @@ -1,3 +1,5 @@ { - + "tags": [ + "deprecated" + ] } diff --git a/rules/S6468/python/metadata.json b/rules/S6468/python/metadata.json index f3298b9eb87..34db1ea6e69 100644 --- a/rules/S6468/python/metadata.json +++ b/rules/S6468/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "python3", + "error-handling" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6468", diff --git a/rules/S6537/python/metadata.json b/rules/S6537/python/metadata.json index d4ff6f332b7..6ca7ac2afde 100644 --- a/rules/S6537/python/metadata.json +++ b/rules/S6537/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "regex", + "confusing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6537", diff --git a/rules/S6538/python/metadata.json b/rules/S6538/python/metadata.json index b10389e4a3d..a3618b2996a 100644 --- a/rules/S6538/python/metadata.json +++ b/rules/S6538/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "convention", + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6538", diff --git a/rules/S6540/python/metadata.json b/rules/S6540/python/metadata.json index 92c71667256..3e6f746e0c2 100644 --- a/rules/S6540/python/metadata.json +++ b/rules/S6540/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "convention", + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6540", diff --git a/rules/S6542/python/metadata.json b/rules/S6542/python/metadata.json index c6173cbbb24..69c2af094ef 100644 --- a/rules/S6542/python/metadata.json +++ b/rules/S6542/python/metadata.json @@ -13,6 +13,9 @@ "constantCost": "5min" }, "tags": [ + "convention", + "typing", + "bad-practice" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6542", diff --git a/rules/S6543/python/metadata.json b/rules/S6543/python/metadata.json index a97a3842f9e..92042fef415 100644 --- a/rules/S6543/python/metadata.json +++ b/rules/S6543/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "convention", + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6543", diff --git a/rules/S6545/python/metadata.json b/rules/S6545/python/metadata.json index 0384d4c449c..ac14a53bcc9 100644 --- a/rules/S6545/python/metadata.json +++ b/rules/S6545/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "2min" }, "tags": [ + "convention", + "typing" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6545", diff --git a/rules/S6546/python/metadata.json b/rules/S6546/python/metadata.json index f4196d8d416..f3256435723 100644 --- a/rules/S6546/python/metadata.json +++ b/rules/S6546/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "5min" }, "tags": [ + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6546", diff --git a/rules/S6552/python/metadata.json b/rules/S6552/python/metadata.json index 02ca6167924..a7b4b9b7276 100644 --- a/rules/S6552/python/metadata.json +++ b/rules/S6552/python/metadata.json @@ -13,6 +13,8 @@ "constantCost": "5min" }, "tags": [ + "pitfall", + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6552", diff --git a/rules/S6553/python/metadata.json b/rules/S6553/python/metadata.json index 8e467e24932..102bba1cc2e 100644 --- a/rules/S6553/python/metadata.json +++ b/rules/S6553/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "5min" }, "tags": [ + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6553", diff --git a/rules/S6554/python/metadata.json b/rules/S6554/python/metadata.json index c79b16e0937..d24c7e55b4f 100644 --- a/rules/S6554/python/metadata.json +++ b/rules/S6554/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "10min" }, "tags": [ + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6554", diff --git a/rules/S6556/python/metadata.json b/rules/S6556/python/metadata.json index 77723d974df..32038f6a1ae 100644 --- a/rules/S6556/python/metadata.json +++ b/rules/S6556/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "10min" }, "tags": [ + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6556", diff --git a/rules/S6559/python/metadata.json b/rules/S6559/python/metadata.json index 9fcb342c818..6cacccb1710 100644 --- a/rules/S6559/python/metadata.json +++ b/rules/S6559/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "5min" }, "tags": [ + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6559", diff --git a/rules/S6560/python/metadata.json b/rules/S6560/python/metadata.json index 30eae01db41..f56c945a280 100644 --- a/rules/S6560/python/metadata.json +++ b/rules/S6560/python/metadata.json @@ -13,6 +13,7 @@ "constantCost": "10min" }, "tags": [ + "django" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6560", diff --git a/rules/S6659/python/metadata.json b/rules/S6659/python/metadata.json index e0b6e15d1e2..8e7fae418dd 100644 --- a/rules/S6659/python/metadata.json +++ b/rules/S6659/python/metadata.json @@ -7,7 +7,8 @@ "constantCost": "5min" }, "tags": [ - + "convention", + "pep" ], "extra": { "replacementRules": [ diff --git a/rules/S6660/python/metadata.json b/rules/S6660/python/metadata.json index 18538696e4d..ae048902d82 100644 --- a/rules/S6660/python/metadata.json +++ b/rules/S6660/python/metadata.json @@ -13,7 +13,7 @@ "constantCost": "2min" }, "tags": [ - + "typing" ], "extra": { "replacementRules": [ diff --git a/rules/S6709/python/metadata.json b/rules/S6709/python/metadata.json index 1dd007f8630..dbd15e77e2a 100644 --- a/rules/S6709/python/metadata.json +++ b/rules/S6709/python/metadata.json @@ -8,7 +8,8 @@ }, "tags": [ "numpy", - "data-science" + "data-science", + "scientific-computing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6709", diff --git a/rules/S6725/python/metadata.json b/rules/S6725/python/metadata.json index dc9c5c3ccda..6e739b1857c 100644 --- a/rules/S6725/python/metadata.json +++ b/rules/S6725/python/metadata.json @@ -13,7 +13,6 @@ "constantCost": "2min" }, "tags": [ - "python3", "numpy" ], "extra": { diff --git a/rules/S6727/python/metadata.json b/rules/S6727/python/metadata.json index 794cfb8887e..311ab8cad31 100644 --- a/rules/S6727/python/metadata.json +++ b/rules/S6727/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "scientific-computing" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6727", diff --git a/rules/S6741/python/metadata.json b/rules/S6741/python/metadata.json index 3d19554c5e2..5de3a19dcf2 100644 --- a/rules/S6741/python/metadata.json +++ b/rules/S6741/python/metadata.json @@ -8,7 +8,8 @@ }, "tags": [ "data-science", - "pandas" + "pandas", + "numpy" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6741", diff --git a/rules/S6779/python/metadata.json b/rules/S6779/python/metadata.json index 7a82bf27145..17590e8ef38 100644 --- a/rules/S6779/python/metadata.json +++ b/rules/S6779/python/metadata.json @@ -14,7 +14,8 @@ }, "tags": [ "cwe", - "cert" + "cert", + "flask" ], "extra": { "replacementRules": [] diff --git a/rules/S6785/python/metadata.json b/rules/S6785/python/metadata.json index 11525cacb4f..95a5a08119d 100644 --- a/rules/S6785/python/metadata.json +++ b/rules/S6785/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "1d" }, "tags": [ + "graphql", + "denial-of-service" ], "securityStandards": { "CWE": [ diff --git a/rules/S6786/python/metadata.json b/rules/S6786/python/metadata.json index e5bfa7f4b9f..ef294299688 100644 --- a/rules/S6786/python/metadata.json +++ b/rules/S6786/python/metadata.json @@ -7,7 +7,8 @@ "constantCost": "1h" }, "tags": [ - "cwe" + "cwe", + "graphql" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6786", diff --git a/rules/S6792/python/metadata.json b/rules/S6792/python/metadata.json index c4a1a4097eb..2775e31c20d 100644 --- a/rules/S6792/python/metadata.json +++ b/rules/S6792/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6792", diff --git a/rules/S6794/python/metadata.json b/rules/S6794/python/metadata.json index 00e7978bf6b..cd31af2106c 100644 --- a/rules/S6794/python/metadata.json +++ b/rules/S6794/python/metadata.json @@ -1,5 +1,5 @@ { -"title": "Type aliases should be declared with a \"type\" statement", + "title": "Type aliases should be declared with a \"type\" statement", "type": "CODE_SMELL", "status": "ready", "remediation": { @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6794", diff --git a/rules/S6795/python/metadata.json b/rules/S6795/python/metadata.json index d2938dc2f36..42bca70858c 100644 --- a/rules/S6795/python/metadata.json +++ b/rules/S6795/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6795", diff --git a/rules/S6796/python/metadata.json b/rules/S6796/python/metadata.json index ec7febe8bc9..be65b387b18 100644 --- a/rules/S6796/python/metadata.json +++ b/rules/S6796/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "typing" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6796", diff --git a/rules/S6882/python/metadata.json b/rules/S6882/python/metadata.json index 11e58c38a29..835cd975ea4 100644 --- a/rules/S6882/python/metadata.json +++ b/rules/S6882/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "datetime" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6882", diff --git a/rules/S6883/python/metadata.json b/rules/S6883/python/metadata.json index 896196606a6..310e02f2b39 100644 --- a/rules/S6883/python/metadata.json +++ b/rules/S6883/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "datetime" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6883", diff --git a/rules/S6887/python/metadata.json b/rules/S6887/python/metadata.json index 9dda7bd0858..bec8fa909ff 100644 --- a/rules/S6887/python/metadata.json +++ b/rules/S6887/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "datetime" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6887", diff --git a/rules/S6890/python/metadata.json b/rules/S6890/python/metadata.json index b0dea47a572..7db387d7b0b 100644 --- a/rules/S6890/python/metadata.json +++ b/rules/S6890/python/metadata.json @@ -7,6 +7,7 @@ "constantCost": "5min" }, "tags": [ + "datetime" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6890", diff --git a/rules/S6894/python/metadata.json b/rules/S6894/python/metadata.json index 5b20eda63c5..c215259cdb7 100644 --- a/rules/S6894/python/metadata.json +++ b/rules/S6894/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "datetime", + "pandas" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6894", diff --git a/rules/S6900/python/metadata.json b/rules/S6900/python/metadata.json index 5dd48cc4649..31cb7dd04d7 100644 --- a/rules/S6900/python/metadata.json +++ b/rules/S6900/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "datetime", + "numpy" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6900", diff --git a/rules/S6903/python/metadata.json b/rules/S6903/python/metadata.json index 22d80c51348..b8b21f38cf5 100644 --- a/rules/S6903/python/metadata.json +++ b/rules/S6903/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "datetime", + "pitfall" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6903", diff --git a/rules/S6908/python/metadata.json b/rules/S6908/python/metadata.json index c7235c2a5dd..1e82fa93e05 100644 --- a/rules/S6908/python/metadata.json +++ b/rules/S6908/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6908", diff --git a/rules/S6911/python/metadata.json b/rules/S6911/python/metadata.json index 13ae91cd387..b0771785d47 100644 --- a/rules/S6911/python/metadata.json +++ b/rules/S6911/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6911", diff --git a/rules/S6918/python/metadata.json b/rules/S6918/python/metadata.json index e5cf74f7ad4..737f294059c 100644 --- a/rules/S6918/python/metadata.json +++ b/rules/S6918/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6918", diff --git a/rules/S6919/python/metadata.json b/rules/S6919/python/metadata.json index e400f580653..c203e38561a 100644 --- a/rules/S6919/python/metadata.json +++ b/rules/S6919/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6919", diff --git a/rules/S6925/python/metadata.json b/rules/S6925/python/metadata.json index 880e1eea853..3643519e636 100644 --- a/rules/S6925/python/metadata.json +++ b/rules/S6925/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6925", diff --git a/rules/S6928/python/metadata.json b/rules/S6928/python/metadata.json index a6263134981..cb0544617af 100644 --- a/rules/S6928/python/metadata.json +++ b/rules/S6928/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "tensorflow", + "machine-learning" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6928", diff --git a/rules/S6969/python/metadata.json b/rules/S6969/python/metadata.json index 400d08f4d7a..cb7449a9498 100644 --- a/rules/S6969/python/metadata.json +++ b/rules/S6969/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "scikit-learn", + "machine-learning" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6969", diff --git a/rules/S6971/python/metadata.json b/rules/S6971/python/metadata.json index 87577771b6c..ac110b542f2 100644 --- a/rules/S6971/python/metadata.json +++ b/rules/S6971/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "scikit-learn", + "machine-learning" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6971", diff --git a/rules/S6972/python/metadata.json b/rules/S6972/python/metadata.json index 13bbcd40880..722d55eb42e 100644 --- a/rules/S6972/python/metadata.json +++ b/rules/S6972/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "scikit-learn", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6972", diff --git a/rules/S6973/python/metadata.json b/rules/S6973/python/metadata.json index c9aeef668b2..f17eb83b139 100644 --- a/rules/S6973/python/metadata.json +++ b/rules/S6973/python/metadata.json @@ -7,6 +7,9 @@ "constantCost": "5min" }, "tags": [ + "pytorch", + "scikit-learn", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6973", diff --git a/rules/S6974/python/metadata.json b/rules/S6974/python/metadata.json index 21259fe2732..f63b4fd0c9a 100644 --- a/rules/S6974/python/metadata.json +++ b/rules/S6974/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "5min" }, "tags": [ + "scikit-learn", + "machine-learning" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6974", diff --git a/rules/S6978/python/metadata.json b/rules/S6978/python/metadata.json index a56e0f40bf1..de8d9d952fd 100644 --- a/rules/S6978/python/metadata.json +++ b/rules/S6978/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "1min" }, "tags": [ + "pytorch", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6978", diff --git a/rules/S6979/python/metadata.json b/rules/S6979/python/metadata.json index 90db0b43665..8a2f82f5e07 100644 --- a/rules/S6979/python/metadata.json +++ b/rules/S6979/python/metadata.json @@ -7,6 +7,8 @@ "constantCost": "2min" }, "tags": [ + "pytorch", + "machine-learning" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6979", diff --git a/rules/S6984/python/metadata.json b/rules/S6984/python/metadata.json index bfcdbd48e19..89a6a47bc9f 100644 --- a/rules/S6984/python/metadata.json +++ b/rules/S6984/python/metadata.json @@ -7,6 +7,9 @@ "constantCost": "5min" }, "tags": [ + "convention", + "pitfall", + "scientific-computing" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6984", diff --git a/rules/S935/python/metadata.json b/rules/S935/python/metadata.json index 39964399922..c67a028924d 100644 --- a/rules/S935/python/metadata.json +++ b/rules/S935/python/metadata.json @@ -7,7 +7,8 @@ "constantCost": "5min" }, "tags": [ - + "cwe", + "typing" ], "extra": { "replacementRules": [