Modify rule S2734: Python: Don't replace with S935 (#2774)
S935 has been merged with S6658. As part of that merge, S935 has been restricted to a specific set of special functions for now, not including `__init__`. Hence, we keep S2734 at the moment, until S935 is extended to cover more functions. See also * https://github.com/SonarSource/sonar-python/pull/1529#discussion_r1282759218 * https://github.com/SonarSource/sonar-python/pull/1528 * https://sonarsource.slack.com/archives/CFUS31LRE/p1690534750237959
This commit is contained in:
parent
5c10d8b93c
commit
f6dfcca980
@ -1,7 +1,7 @@
|
||||
{
|
||||
"title": "\"__init__\" should not return a value",
|
||||
"type": "BUG",
|
||||
"status": "superseded",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "5min"
|
||||
@ -9,14 +9,6 @@
|
||||
"tags": [
|
||||
|
||||
],
|
||||
"extra": {
|
||||
"replacementRules": [
|
||||
"RSPEC-935"
|
||||
],
|
||||
"legacyKeys": [
|
||||
|
||||
]
|
||||
},
|
||||
"defaultSeverity": "Blocker",
|
||||
"ruleSpecification": "RSPEC-2734",
|
||||
"sqKey": "S2734",
|
||||
|
Loading…
x
Reference in New Issue
Block a user