diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 341926a..e683f19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: - mdformat-gfm - mdformat-gfm-alerts - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.9 + rev: v0.14.10 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/s3file/forms.py b/s3file/forms.py index 21e7976..baa8073 100644 --- a/s3file/forms.py +++ b/s3file/forms.py @@ -193,7 +193,8 @@ def upload_folder(self): return str( pathlib.PurePosixPath( self.upload_path, - base64.urlsafe_b64encode(uuid.uuid4().bytes) + base64 + .urlsafe_b64encode(uuid.uuid4().bytes) .decode("utf-8") .rstrip("=\n"), )