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 Jan 8, 2024
1 parent 6822fd7 commit 2e61171
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pypiserverless/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def _s3():


def get_file_url(filename):

url = _s3().generate_presigned_url(
ClientMethod="get_object",
Params={
Expand All @@ -23,7 +22,6 @@ def get_file_url(filename):


def packages_list(pkg_name=None):

prefix = pkg_name or ""
prefix = path.join(getenv("PACKAGES_PATH"), prefix)

Expand All @@ -33,7 +31,6 @@ def packages_list(pkg_name=None):
)["Contents"]

for f in all_files:

pkg = {}
pkg["uri"] = f["Key"]
pkg["filename"] = path.basename(pkg["uri"])
Expand Down

0 comments on commit 2e61171

Please sign in to comment.