Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and taichi-gardener committed Jan 15, 2023
1 parent 16d904b commit a182277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/generate_c_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def get_human_readable_name(x: EntryBase):
elif ty is Definition:
return f"{x.name.screaming_snake_case}"

elif isinstance(x, (Handle, Enumeration, BitField, Structure, Union, Callback)):
elif isinstance(
x, (Handle, Enumeration, BitField, Structure, Union, Callback)):
return f"{get_type_name(x)}"

elif ty is Function:
Expand Down

0 comments on commit a182277

Please sign in to comment.