Skip to content

Commit c6dd1f9

Browse files
fixed lint issue
1 parent 09ba34e commit c6dd1f9

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

package.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,12 @@ def commands_step(path, commands):
829829

830830
if poetry_install and runtime.startswith("python"):
831831
if path:
832-
poetry_install_step(path, prefix=prefix, poetry_groups=poetry_groups, required=True)
832+
poetry_install_step(
833+
path,
834+
prefix=prefix,
835+
poetry_groups=poetry_groups,
836+
required=True,
837+
)
833838

834839
if npm_requirements and runtime.startswith("nodejs"):
835840
if isinstance(npm_requirements, bool) and path:
@@ -899,7 +904,12 @@ def execute(self, build_plan, zip_stream, query):
899904
# XXX: timestamp=0 - what actually do with it?
900905
zs.write_dirs(rd, prefix=prefix, timestamp=0)
901906
elif cmd == "poetry":
902-
runtime, path, poetry_groups, prefix, = action[1:]
907+
(
908+
runtime,
909+
path,
910+
poetry_groups,
911+
prefix,
912+
) = action[1:]
903913
log.info("Poetry Groups: %s", poetry_groups)
904914
with install_poetry_dependencies(query, path, poetry_groups) as rd:
905915
if rd:
@@ -958,7 +968,7 @@ def execute(self, build_plan, zip_stream, query):
958968

959969
@staticmethod
960970
def _zip_write_with_filter(
961-
zip_stream, path_filter, source_path, prefix, timestamp=None
971+
zip_stream, path_filter, source_path, prefix, timestamp=None
962972
):
963973
for path in path_filter.filter(source_path, prefix):
964974
if os.path.isdir(source_path):

0 commit comments

Comments
 (0)