aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-05-05 09:27:02 +0300
committerMunyoki Kilyungi2025-05-05 09:27:02 +0300
commit55e9e13422a7a5ee4650597e86ac8629de83c383 (patch)
tree8004eadfb7f085b46c206c3b0a984947d78e87aa
parentaed581372c7c6b04023c85ce81943555cac363e6 (diff)
downloadgn-auth-55e9e13422a7a5ee4650597e86ac8629de83c383.tar.gz
Fix "C0301: Line too long" pylint error.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn_auth/auth/authorisation/users/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/views.py b/gn_auth/auth/authorisation/users/views.py
index 6183388..f8ccdbe 100644
--- a/gn_auth/auth/authorisation/users/views.py
+++ b/gn_auth/auth/authorisation/users/views.py
@@ -130,7 +130,8 @@ def display_minutes_for_humans(minutes):
if _remainder_ >= _day_:
_days_ = _remainder_ // _day_
_remainder_ = _remainder_ % _day_
- _human_readable_ += (" " if bool(_human_readable_) else "") + f"{_days_} day" + ("s" if _days_ > 1 else "")
+ _human_readable_ += (" " if bool(_human_readable_) else "") + \
+ f"{_days_} day" + ("s" if _days_ > 1 else "")
if _remainder_ > 0:
_human_readable_ += (" " if bool(_human_readable_) else "") + f"{_remainder_} minutes"