Skip to content

Commit

Permalink
minor lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Mar 4, 2024
1 parent 5336484 commit 1f4220b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otaclient/_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def _decorator(target: Callable[..., RT]) -> Callable[Concatenate[Any, P], RT]:
_MultiUnits = Literal["GiB", "MiB", "KiB", "Bytes", "KB", "MB", "GB"]
# fmt: off
_multiplier: dict[_MultiUnits, int] = {
"GiB": (1024 ** 3), "MiB": (1024 ** 2), "KiB": (1024 ** 1),
"GB": (1000 **3), "MB": (1000 ** 2), "KB": (1000 ** 1),
"GiB": 1024 ** 3, "MiB": 1024 ** 2, "KiB": 1024 ** 1,
"GB": 1000 ** 3, "MB": 1000 ** 2, "KB": 1000 ** 1,
"Bytes": 1,
}
# fmt: on
Expand Down

0 comments on commit 1f4220b

Please sign in to comment.