Skip to content

Commit 433bec1

Browse files
committed
feat: fix lint
1 parent b17dcdb commit 433bec1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/scripts/model/test_modelres.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from dingo.model.modelres import ModelRes
99
from dingo.model.rule.base import BaseRule
1010

11+
1112
@Model.rule_register('QUALITY_BAD_RELEVANCE', ['test'])
1213
class RegisterRuleColon(BaseRule):
1314
"""let user input pattern to search"""
@@ -26,10 +27,10 @@ def eval(cls, input_data: Data) -> ModelRes:
2627
res.reason = [content[-100:]]
2728
return res
2829

30+
2931
class TestModelRes:
3032
def test_type_name_list(self):
3133

32-
3334
data = Data(
3435
data_id='0',
3536
prompt="",

0 commit comments

Comments
 (0)