Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent a065198 commit 1fb345e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pushsource/_impl/backend/staged/staged_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __build_azure_push_item(self, resources, src, origin, name):
"origin": origin,
}
return VHDPushItem(**image_kwargs)

def __process_builds(self, build_dirs):
out = []
for bd in build_dirs:
Expand Down Expand Up @@ -135,7 +135,7 @@ def __process_builds(self, build_dirs):

@handles_type("CLOUD_IMAGES")
def __cloud_push_item(self, leafdir, _, entry):
builds = [ f.path for f in os.scandir(leafdir.path) if f.is_dir() ]
builds = [f.path for f in os.scandir(leafdir.path) if f.is_dir()]
out = self.__process_builds(builds)

return out

0 comments on commit 1fb345e

Please sign in to comment.