Skip to content

Commit 646e92e

Browse files
[autofix.ci] apply automated fixes
1 parent fd249ad commit 646e92e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/python/slint/slint/codegen/emitters.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ def register_type(type_str: str) -> None:
186186
export_names = [component.py_name for component in artifacts.components]
187187
export_names += [struct.py_name for struct in artifacts.structs]
188188
export_names += [enum.py_name for enum in artifacts.enums]
189-
export_names += [
190-
_normalize_prop(alias) for _, alias in artifacts.named_exports
191-
]
189+
export_names += [_normalize_prop(alias) for _, alias in artifacts.named_exports]
192190
if export_names:
193191
all_list = cst.List(
194192
elements=[

0 commit comments

Comments
 (0)