Skip to content

Commit

Permalink
Moved the handling of None-type values to satisfy pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Souf149 committed Oct 3, 2024
1 parent 0c02484 commit 317dc47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bytes/bytes/raw/file_raw_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def create_raw_repository(settings: Settings) -> RawRepository:
return S3RawRepository(
make_middleware(),
settings.bucket_per_org,
settings.s3_bucket_prefix,
settings.s3_bucket_name,
settings.s3_bucket_prefix or "OpenKAT-",
settings.s3_bucket_name or "OpenKAT",
)
else:
return FileRawRepository(
Expand Down Expand Up @@ -80,8 +80,8 @@ def __init__(
self,
file_middleware: FileMiddleware,
bucket_per_org: bool,
s3_bucket_prefix: str = "OpenKAT-",
s3_bucket_name: str = "OpenKAT",
s3_bucket_prefix: str,
s3_bucket_name: str,
) -> None:
self._file_middleware = file_middleware
self.bucket_per_org = bucket_per_org
Expand Down

0 comments on commit 317dc47

Please sign in to comment.