Skip to content

Commit df4c548

Browse files
committed
[ISSUE 14] correction error on deprecated rule EC34
1 parent 731af81 commit df4c548

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<mockito.version>5.3.1</mockito.version>
6060

6161
<!-- temporary version waiting for real automatic release in ecocode repository -->
62-
<ecocode-rules-specifications.version>1.4.6</ecocode-rules-specifications.version>
62+
<ecocode-rules-specifications.version>1.4.7</ecocode-rules-specifications.version>
6363

6464
<sonar-analyzer-commons.version>2.5.0.1358</sonar-analyzer-commons.version>
6565

src/main/java/fr/greencodeinitiative/python/checks/AvoidTryCatchWithFileOpenedCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
@Rule(key = "EC35")
3030
@DeprecatedRuleKey(repositoryKey = "gci-python", ruleKey = "S34")
31-
@DeprecatedRuleKey(repositoryKey = "gci-python", ruleKey = "EC34")
31+
@DeprecatedRuleKey(ruleKey = "EC34")
3232
public class AvoidTryCatchWithFileOpenedCheck extends PythonSubscriptionCheck {
3333

3434
public static final String DESCRIPTION = "Avoid the use of try-catch with a file open in try block";

0 commit comments

Comments
 (0)