Skip to content

Commit

Permalink
style: reformat with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
gilandose committed Nov 29, 2024
1 parent c29fe0a commit 18085e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,14 +948,18 @@ def execute(self, build_plan, zip_stream, query):
# XXX: timestamp=0 - what actually do with it?
zs.write_dirs(rd, prefix=prefix, timestamp=0)
elif cmd == "poetry":
(runtime, path, poetry_export_extra_args, prefix, tmp_dir) = action[1:]
(runtime, path, poetry_export_extra_args, prefix, tmp_dir) = action[
1:
]
log.info("poetry_export_extra_args: %s", poetry_export_extra_args)
with install_poetry_dependencies(
query, path, poetry_export_extra_args, tmp_dir
) as rd:
if rd:
if pf:
self._zip_write_with_filter(zs, pf, rd, prefix, timestamp=0)
self._zip_write_with_filter(
zs, pf, rd, prefix, timestamp=0
)
else:
# XXX: timestamp=0 - what actually do with it?
zs.write_dirs(rd, prefix=prefix, timestamp=0)
Expand Down

0 comments on commit 18085e2

Please sign in to comment.