|
@@ -88,7 +88,7 @@ public class ScoringRulesController {
|
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, "规则名称ruleName已存在,请重新命名。");
|
|
|
}
|
|
|
|
|
|
- String pylint = PythonUtil.pylint(scoringRulesPO.getRuleDetails());
|
|
|
+ String pylint = PythonUtil.pylint(scoringRulesPO.getRuleDetails(), PythonUtil.C, PythonUtil.R, PythonUtil.W);
|
|
|
if (!pylint.contains(PythonUtil.PASS)) {
|
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, pylint);
|
|
|
}
|