Skip to content

Commit

Permalink
[Docathon][CodeStyle Fix No.21] enable UP008 rule (#6258)
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooo-create authored Oct 28, 2023
1 parent a010d50 commit 988696c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci_scripts/CAPItools/utils_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# create_and_write_file 根据指定的语言类型,在指定目录生成对应的文档
class func_helper(object):
def __init__(self, function_dict, cpp2py_api_list):
super(func_helper, self).__init__()
super().__init__()
self.function_dict = function_dict
self.cpp2py_api_list = cpp2py_api_list
self.decode()
Expand Down Expand Up @@ -182,7 +182,7 @@ def create_and_write_file_en(self, save_dir, language):
# create_and_write_file 根据指定的语言类型,在指定目录生成对应的文档
class class_helper(object):
def __init__(self, class_dict):
super(class_helper, self).__init__()
super().__init__()
self.class_dict = class_dict
self.decode()

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ ignore = [
"C403",
"C405",
"UP004",
"UP008",
"C414",
"C416",
"C419",
Expand Down

0 comments on commit 988696c

Please sign in to comment.