未验证 提交 13c2342a 编写于 作者: 张春乔 提交者: GitHub

[CodeStyle][CINN] ruff F821,F901 in test/cinn (#55103)

上级 fb151914
......@@ -107,8 +107,6 @@ ignore = [
"F403",
"F632",
"F811",
"F821",
"F901",
"C408",
"C417",
"PLR0402",
......
......@@ -21,7 +21,11 @@ import sys
import unittest
import numpy as np
from cinn.common import DefaultNVGPUTarget, is_compiled_with_cuda
from cinn.common import (
DefaultHostTarget,
DefaultNVGPUTarget,
is_compiled_with_cuda,
)
from cinn.frontend import PaddleModelConvertor
from cinn.runtime import seed as cinn_seed
from op_mappers.op_mapper_test import OpMapperTest
......
......@@ -43,7 +43,7 @@ class SingleOpTester(unittest.TestCase):
'''
create the target of the operator's execution output.
'''
raise NotImplemented
raise NotImplementedError
def test_op(self):
'''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册