Skip to content

Commit 3ec86bb

Browse files
Update rule metadata (SonarSource#166)
1 parent 80a433c commit 3ec86bb

55 files changed

Lines changed: 126 additions & 58 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/BackticksUsage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
],
1212
"defaultSeverity": "Blocker",
1313
"ruleSpecification": "RSPEC-2316",
14-
"sqKey": "BackticksUsage"
14+
"sqKey": "BackticksUsage",
15+
"scope": "Main"
1516
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ClassComplexity.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
],
1414
"defaultSeverity": "Critical",
1515
"ruleSpecification": "RSPEC-1311",
16-
"sqKey": "ClassComplexity"
16+
"sqKey": "ClassComplexity",
17+
"scope": "Main"
1718
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/CommentRegularExpression.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
],
88
"defaultSeverity": "Major",
99
"ruleSpecification": "RSPEC-124",
10-
"sqKey": "CommentRegularExpression"
10+
"sqKey": "CommentRegularExpression",
11+
"scope": "Main"
1112
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ExecStatementUsage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
],
1313
"defaultSeverity": "Blocker",
1414
"ruleSpecification": "RSPEC-2317",
15-
"sqKey": "ExecStatementUsage"
15+
"sqKey": "ExecStatementUsage",
16+
"scope": "Main"
1617
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FileComplexity.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
],
1414
"defaultSeverity": "Major",
1515
"ruleSpecification": "RSPEC-1908",
16-
"sqKey": "FileComplexity"
16+
"sqKey": "FileComplexity",
17+
"scope": "Main"
1718
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FunctionComplexity.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
],
1414
"defaultSeverity": "Critical",
1515
"ruleSpecification": "RSPEC-1541",
16-
"sqKey": "FunctionComplexity"
16+
"sqKey": "FunctionComplexity",
17+
"scope": "Main"
1718
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/InequalityUsage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
],
1212
"defaultSeverity": "Major",
1313
"ruleSpecification": "RSPEC-2318",
14-
"sqKey": "InequalityUsage"
14+
"sqKey": "InequalityUsage",
15+
"scope": "Main"
1516
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LineLength.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
],
1212
"defaultSeverity": "Major",
1313
"ruleSpecification": "RSPEC-103",
14-
"sqKey": "LineLength"
14+
"sqKey": "LineLength",
15+
"scope": "All"
1516
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LongIntegerWithLowercaseSuffixUsage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
],
1212
"defaultSeverity": "Minor",
1313
"ruleSpecification": "RSPEC-1129",
14-
"sqKey": "LongIntegerWithLowercaseSuffixUsage"
14+
"sqKey": "LongIntegerWithLowercaseSuffixUsage",
15+
"scope": "Main"
1516
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/OneStatementPerLine.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
],
1212
"defaultSeverity": "Major",
1313
"ruleSpecification": "RSPEC-122",
14-
"sqKey": "OneStatementPerLine"
14+
"sqKey": "OneStatementPerLine",
15+
"scope": "All"
1516
}

0 commit comments

Comments
 (0)