Skip to content

Commit c01f000

Browse files
committed
upgrade ruff
1 parent 1e47fbe commit c01f000

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

minio_storage/storage.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ def delete(self, name: str) -> None:
182182
) from error
183183

184184
# Creates the backup filename
185-
target_name = "{}{}".format(
186-
timezone.now().strftime(self.backup_format), name
187-
)
185+
target_name = f"{timezone.now().strftime(self.backup_format)}{name}"
188186
try:
189187
self.client.put_object(
190188
self.backup_bucket, target_name, obj, content_length

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ setenv=
6565
PYTHONWARNINGS=ignore
6666
basepython = python3
6767
deps =
68-
ruff==0.0.277
68+
ruff==0.0.278
6969
black==22.3.0
7070
commands =
7171
ruff check .
@@ -77,7 +77,7 @@ setenv=
7777
basepython = python3
7878
deps =
7979
pyupgrade-directories
80-
ruff==0.0.277
80+
ruff==0.0.278
8181
isort==5.12.0
8282
black==23.3.0
8383
commands =

0 commit comments

Comments
 (0)