Skip to content

Commit

Permalink
Fix deepsource (UsergeTeam#520)
Browse files Browse the repository at this point in the history
* Fix deepsource

* Update tools.py

* Update tools.py

Noobs everywhere
  • Loading branch information
jigarvarma2k20 authored Jul 12, 2022
1 parent 91ad610 commit 5e561df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/utils/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def humanbytes(size: float) -> str:
while size > power:
size /= power
t_n += 1
return "{:.2f} {}B".format(size, power_dict[t_n])
return "{:.2f} {}B".format(size, power_dict[t_n]) # pylint: disable=consider-using-f-string


def time_formatter(seconds: float) -> str:
Expand Down

0 comments on commit 5e561df

Please sign in to comment.