Skip to content

Commit

Permalink
Python backend sort reexports
Browse files Browse the repository at this point in the history
  • Loading branch information
nx10 committed Sep 12, 2024
1 parent 7706224 commit 095a57c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/styx/backend/python/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ def to_python(interfaces: Iterable[Interface]) -> Generator[tuple[str, list[str]
yield interface_module.text(), [package_data.package_symbol, interface_module_symbol]

for package_data in packages.values():
package_data.module.imports.sort()
yield package_data.module.text(), [package_data.package_symbol, "__init__"]

0 comments on commit 095a57c

Please sign in to comment.