Skip to content

Commit 873c8b9

Browse files
GCI99 OptimizeSquareComputation #Python #DLG #Build
Co-authored-by: DataLabGroupe-CreditAgricole <[email protected]>
1 parent 773bfee commit 873c8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/greencodeinitiative/creedengo/python/checks/OptimizeSquareComputation.java

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

3030
import static org.sonar.plugins.python.api.tree.Tree.Kind.*;
3131

32-
@Rule(key = "GCI305")
32+
@Rule(key = "GCI99")
3333
public class OptimizeSquareComputation extends PythonSubscriptionCheck {
3434

3535
public static final String DESCRIPTION = "Use x*x instead of x**2 or math.pow(x,2) to calculate the square of a value";

0 commit comments

Comments
 (0)