@@ -829,7 +829,12 @@ def commands_step(path, commands):
829
829
830
830
if poetry_install and runtime .startswith ("python" ):
831
831
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
+ )
833
838
834
839
if npm_requirements and runtime .startswith ("nodejs" ):
835
840
if isinstance (npm_requirements , bool ) and path :
@@ -899,7 +904,12 @@ def execute(self, build_plan, zip_stream, query):
899
904
# XXX: timestamp=0 - what actually do with it?
900
905
zs .write_dirs (rd , prefix = prefix , timestamp = 0 )
901
906
elif cmd == "poetry" :
902
- runtime , path , poetry_groups , prefix , = action [1 :]
907
+ (
908
+ runtime ,
909
+ path ,
910
+ poetry_groups ,
911
+ prefix ,
912
+ ) = action [1 :]
903
913
log .info ("Poetry Groups: %s" , poetry_groups )
904
914
with install_poetry_dependencies (query , path , poetry_groups ) as rd :
905
915
if rd :
@@ -958,7 +968,7 @@ def execute(self, build_plan, zip_stream, query):
958
968
959
969
@staticmethod
960
970
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
962
972
):
963
973
for path in path_filter .filter (source_path , prefix ):
964
974
if os .path .isdir (source_path ):
0 commit comments