Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Docathon][CodeStyle Fix No.17] enable E712 rule #6267

Merged
merged 1 commit into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci_scripts/CAPItools/utils_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def decode(self):
returns = ith_function["rtnType"]
# Note Template 没有仅对class起作用,可能需要同步添加到API中
template = ""
if ith_function['template'] != False:
if ith_function['template'] is not False:
template = ith_function['template']

# analysis doxygen
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ ignore = [
"C403",
"E401",
"E711",
"E712",
"F811",
"F821"
]